Skip to content

Commit f7200c3

Browse files
committed
Ignore unbuffered_bytes clippy lint
warning: calling .bytes() is very inefficient when data is not in memory --> src/read.rs:202:40 | 202 | iter: LineColIterator::new(reader.bytes()), | ^^^^^^^^^^^^^^ | = help: consider using `BufReader` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unbuffered_bytes = note: `-W clippy::unbuffered-bytes` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::unbuffered_bytes)]`
1 parent 76cd4fb commit f7200c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@
318318
clippy::needless_lifetimes,
319319
clippy::return_self_not_must_use,
320320
clippy::transmute_ptr_to_ptr,
321+
clippy::unbuffered_bytes,
321322
clippy::unconditional_recursion, // https://github.com/rust-lang/rust-clippy/issues/12133
322323
clippy::unnecessary_wraps
323324
)]

0 commit comments

Comments
 (0)