Improve build time

This commit is contained in:
Thomas Bahn
2015-05-16 14:36:28 +02:00
parent 62058962de
commit 15794a5ed6
+4 -3
View File
@@ -464,9 +464,10 @@ macro_rules! array_impls {
where V: SeqVisitor, where V: SeqVisitor,
{ {
$( $(
let $name = try!(visitor.visit().and_then( let $name = match try!(visitor.visit()) {
|value| value.ok_or(Error::end_of_stream_error())) Some(val) => val,
); None => { return Err(Error::end_of_stream_error()); }
};
)+; )+;
try!(visitor.end()); try!(visitor.end());