style: clippy lints
This commit is contained in:
parent
3eb7366500
commit
5a4765ca01
4 changed files with 19 additions and 20 deletions
|
|
@ -92,7 +92,7 @@ let tree = parser.parse_with(&mut |_byte: u32, position: Point| -> &[u8] {
|
|||
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