style: clippy lints
This commit is contained in:
parent
3eb7366500
commit
5a4765ca01
4 changed files with 19 additions and 20 deletions
|
|
@ -125,7 +125,7 @@ fn test_parsing_with_custom_utf8_input() {
|
|||
if column < lines[row].as_bytes().len() {
|
||||
&lines[row].as_bytes()[column..]
|
||||
} else {
|
||||
"\n".as_bytes()
|
||||
b"\n"
|
||||
}
|
||||
} else {
|
||||
&[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue