diff --git a/src/decoder/rustc_serialize.rs b/src/decoder/rustc_serialize.rs index 534154d..b84eeb9 100644 --- a/src/decoder/rustc_serialize.rs +++ b/src/decoder/rustc_serialize.rs @@ -57,7 +57,7 @@ impl rustc_serialize::Decoder for Decoder { } fn read_f64(&mut self) -> Result { match self.toml { - Some(Value::Float(f)) => Ok(f), + Some(Value::Float(f)) => { self.toml.take(); Ok(f) }, ref found => Err(self.mismatch("float", found)), } }