mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
clippy: re-enable semicolon_if_nothing_returned
This commit is contained in:
parent
acca436d6f
commit
0db870399c
3 changed files with 2 additions and 3 deletions
|
|
@ -697,7 +697,6 @@ bool_to_int_with_if = "allow"
|
|||
needless_raw_string_hashes = "allow"
|
||||
unreadable_literal = "allow"
|
||||
unnested_or_patterns = "allow"
|
||||
semicolon_if_nothing_returned = "allow"
|
||||
implicit_hasher = "allow"
|
||||
struct_field_names = "allow"
|
||||
doc_link_with_quotes = "allow"
|
||||
|
|
|
|||
|
|
@ -1645,7 +1645,7 @@ mod tests {
|
|||
for (filename, result, prefix, expected) in cases {
|
||||
let mut buffer: Vec<u8> = vec![];
|
||||
print_file_report(&mut buffer, filename, *result, prefix, opts.verbose);
|
||||
assert_eq!(&buffer, expected)
|
||||
assert_eq!(&buffer, expected);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ pub fn fast_inc(val: &mut [u8], start: &mut usize, end: usize, inc: &[u8]) {
|
|||
return;
|
||||
}
|
||||
|
||||
fast_inc_one(val, start, pos)
|
||||
fast_inc_one(val, start, pos);
|
||||
}
|
||||
|
||||
/// Fast increment by one function, operating on ASCII strings.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue