mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-04 23:17:46 +00:00
refactor/polosh ~ fix cargo clippy
complaint (reversed_empty_ranges)
This commit is contained in:
parent
d3ef4bd7da
commit
326ff36793
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ impl Splitter for ByteSplitter {
|
||||||
self.bytes_to_write = self.saved_bytes_to_write;
|
self.bytes_to_write = self.saved_bytes_to_write;
|
||||||
control.request_new_file = true;
|
control.request_new_file = true;
|
||||||
self.require_whole_line = false;
|
self.require_whole_line = false;
|
||||||
return line[0..0].to_owned();
|
return "".to_owned();
|
||||||
}
|
}
|
||||||
self.bytes_to_write -= n;
|
self.bytes_to_write -= n;
|
||||||
if n == 0 {
|
if n == 0 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue