##// END OF EJS Templates
rust: fix warning about unnecessary mut...
Valentin Gatien-Baron -
r45360:73d6ce27 default
parent child Browse files
Show More
@@ -847,7 +847,7 b" pub fn status<'a: 'c, 'b: 'c, 'c>("
847 Vec<PatternFileWarning>,
847 Vec<PatternFileWarning>,
848 )> {
848 )> {
849 // Needs to outlive `dir_ignore_fn` since it's captured.
849 // Needs to outlive `dir_ignore_fn` since it's captured.
850 let mut ignore_fn: IgnoreFnType;
850 let ignore_fn: IgnoreFnType;
851
851
852 // Only involve real ignore mechanism if we're listing unknowns or ignored.
852 // Only involve real ignore mechanism if we're listing unknowns or ignored.
853 let (dir_ignore_fn, warnings): (IgnoreFnType, _) = if options.list_ignored
853 let (dir_ignore_fn, warnings): (IgnoreFnType, _) = if options.list_ignored
General Comments 0
You need to be logged in to leave comments. Login now