update with clippy errors

This commit is contained in:
Marc-Antoine Arnaud
2018-05-24 08:27:03 +02:00
parent a951aa9ba0
commit 416ffeec12
7 changed files with 25 additions and 25 deletions

View File

@@ -45,7 +45,7 @@ impl<'de, R: Read> Deserializer<R> {
}
if let Some(ref next) = self.peeked {
Ok(&next)
Ok(next)
} else {
Err(String::from("unable to peek next item"))
}