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

Fix some clippy warnings

This commit is contained in:
Sylvestre Ledru 2023-08-21 08:11:38 +02:00
parent 682f488720
commit 7c9f4ba92a
23 changed files with 50 additions and 55 deletions

View file

@ -478,7 +478,7 @@ fn test_rm_prompts() {
// Needed for talking with stdin on platforms where CRLF or LF matters
const END_OF_LINE: &str = if cfg!(windows) { "\r\n" } else { "\n" };
let mut answers = vec![
let mut answers = [
"rm: descend into directory 'a'?",
"rm: remove write-protected regular empty file 'a/empty-no-write'?",
"rm: remove symbolic link 'a/slink'?",