Skip to content

Commit

Permalink
test_cat.rs: remove useless cfg any
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre authored and gim913 committed Jul 3, 2024
1 parent 802701a commit 416ecc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/by-util/test_cat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ fn test_dev_full_show_all() {
/// fallback inside `write_fast`, the other splice succeeds, in effect
/// without additional flush output gets reversed.
#[test]
#[cfg(any(target_os = "linux"))]
#[cfg(target_os = "linux")]
fn test_write_fast_fallthrough_uses_flush() {
const PROC_INIT_CMDLINE: &str = "/proc/1/cmdline";

Expand Down

0 comments on commit 416ecc6

Please sign in to comment.