1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 19:32:25 +01:00

chore: address all cargo clippy lints

* also do a bit of a doc cleanup for the `load_from_folder` fn
This commit is contained in:
Yuri Astrakhan
2025-08-18 20:06:01 -04:00
committed by Martin Nordholts
parent d9fbd18541
commit 503c50b1ec
6 changed files with 25 additions and 22 deletions

View File

@@ -320,7 +320,7 @@ fn read_utf16_line<R: BufRead>(
}
// end of line not found, keep going
}
return Ok(!buf.is_empty());
Ok(!buf.is_empty())
}
#[test]