Skip to content

Commit bf140f4

Browse files
committed
cargo clippy
1 parent 5ecf272 commit bf140f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image/src/sixel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl SixelBackend {
5858
read(STDIN_FILENO, &mut byte as *mut _ as *mut c_void, 1);
5959
}
6060
buf.push(byte);
61-
if buf.starts_with(&[0x1B, b'[', b'?']) && buf.ends_with(&[b'c']) {
61+
if buf.starts_with(&[0x1B, b'[', b'?']) && buf.ends_with(b"c") {
6262
for attribute in buf[3..(buf.len() - 1)].split(|x| *x == b';') {
6363
if attribute == [b'4'] {
6464
unsafe {

0 commit comments

Comments
 (0)