1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

clippy: fix warnings introduced by Rust 1.75

This commit is contained in:
Daniel Hofstetter 2023-12-28 17:44:23 +01:00
parent 76fedf60ce
commit 9bb725cefc
5 changed files with 7 additions and 6 deletions

View file

@ -4139,7 +4139,7 @@ fn test_ls_hyperlink_dirs() {
assert!(result
.stdout_str()
.lines()
.nth(0)
.next()
.unwrap()
.contains(&format!("{path}{separator}{dir_a}\x07{dir_a}\x1b]8;;\x07:")));
assert_eq!(result.stdout_str().lines().nth(1).unwrap(), "");