mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
fix some clippy warnings
This commit is contained in:
1 parent
51463a4b41
commit
43b2ee5e71
7 files changed
+11
-25
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user