fix some clippy warnings

This commit is contained in:
MarcoIeni authored and David Peter committed 2020-11-23 14:25:01 +01:00
1 parent 51463a4b41
commit 43b2ee5e71
7 files changed
+11 -25

No files matched your search

+1 -1
View File
@@ -338,7 +338,7 @@ impl<'a> Input<'a> {
/// A new input from bytes.
pub fn from_bytes(bytes: &'a [u8]) -> Self {
Input::from_reader(bytes).into()
Input::from_reader(bytes)
}
/// A new input from STDIN.