File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -716,6 +716,7 @@ fn parse_funky_string(
716716 }
717717}
718718
719+ // current match list is much easier to read than nested or-patterns
719720#[ expect( clippy:: unnested_or_patterns) ]
720721fn is_valid_ls_colors_prefix ( label : [ u8 ; 2 ] ) -> bool {
721722 matches ! (
Original file line number Diff line number Diff line change 44// file that was distributed with this source code.
55// spell-checker:ignore (words) defaultcheck nocheck helpb helpz nwordb nwordwordz wordtotal
66
7- use std:: fmt:: Write as _;
87use uutests:: new_ucmd;
98use uutests:: util:: TestScenario ;
109use uutests:: util_name;
@@ -677,6 +676,7 @@ fn test_output_lossy_utf8() {
677676#[ test]
678677#[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
679678fn test_comm_anonymous_pipes ( ) {
679+ use std:: fmt:: Write as _;
680680 use std:: { io:: Write , os:: fd:: AsRawFd , process} ;
681681 use uucore:: pipes:: pipe;
682682
You can’t perform that action at this time.
0 commit comments