Skip to content

Commit

Permalink
Remove clippy::byte_char_slices lint allowance
Browse files Browse the repository at this point in the history
Let's follow the recommendations of the clippy::byte_char_slices lint
instead of ignoring it.

Signed-off-by: Daniel Müller <[email protected]>
  • Loading branch information
d-e-s-o authored and danielocfb committed Sep 5, 2024
1 parent e9b89bf commit b170887
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/symbolize/perf_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,7 @@ if __name__ == "__main__":
});

// "Signal" the child to terminate gracefully.
#[allow(clippy::byte_char_slices)]
let () = child.stdin.as_ref().unwrap().write_all(&[b'\n']).unwrap();
let () = child.stdin.as_ref().unwrap().write_all(b"\n").unwrap();
let _status = child.wait().unwrap();
}
}

0 comments on commit b170887

Please sign in to comment.