mirror of
https://github.com/sharkdp/bat
synced 2026-07-30 18:11:44 +00:00
fix some clippy warnings
This commit is contained in:
@@ -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