made clippy happy

This commit is contained in:
MaxOhn
2022-06-21 07:38:50 +02:00
parent 80fe8aa238
commit d0db4a1775
6 changed files with 25 additions and 32 deletions
+1
View File
@@ -103,6 +103,7 @@ impl_reader!(async);
impl_reader!(async);
impl<R> FileReader<R> {
#[allow(clippy::wrong_self_convention)]
pub(crate) fn is_initial_empty_line(&mut self) -> bool {
if self.buf.starts_with(&[239, 187, 191]) {
// UTF-8