mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-27 05:40:32 +01:00
Fix other clippy warnings.
This commit is contained in:
@@ -22,7 +22,7 @@ impl Day16 {
|
||||
}
|
||||
}
|
||||
|
||||
fn read(&mut self, reader: &mut BufRead, target: &mut [i32]) -> bool {
|
||||
fn read(&mut self, reader: &mut impl BufRead, target: &mut [i32]) -> bool {
|
||||
self.buf.clear();
|
||||
if reader.read_line(&mut self.buf).is_err() {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user