diff options
author | Azriel Hoh <azriel91@gmail.com> | 2018-10-22 10:33:20 +1300 |
---|---|---|
committer | Azriel Hoh <azriel91@gmail.com> | 2018-11-10 11:10:34 +1300 |
commit | 00ee52194039594e2e842c4448ad952cbd6103da (patch) | |
tree | c7db9badd859eef52e3380c366007e9af1939ba7 | |
parent | fcc4a58617ea27a061f445b576e3fafc91ad6998 (diff) | |
download | milf-rs-00ee52194039594e2e842c4448ad952cbd6103da.tar.gz milf-rs-00ee52194039594e2e842c4448ad952cbd6103da.zip |
Maintain compatibility with Rust 1.15
Issue #225
-rw-r--r-- | src/de.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -829,7 +829,7 @@ impl<'de> de::VariantAccess<'de> for TableEnumDeserializer<'de> { }) // Fold all values into a `Vec`, or return the first error. .fold(Ok(Vec::with_capacity(len)), |result, value_result| { - result.and_then(|mut tuple_values| match value_result { + result.and_then(move |mut tuple_values| match value_result { Ok(value) => { tuple_values.push(value); Ok(tuple_values) |