Showing the changes to git-protocol/src/fetch/command.rs (1 of 2 files). Show all
Unified · Split
| @@ -56,7 +56,7 @@ impl Command { · 55 unmodified lines | ||
| 56 | 56 | self.all_argument_prefixes() |
| 57 | 57 | .iter() |
| 58 | 58 | .filter(|s| !(s.ends_with(' ') || s.ends_with('='))) |
| 59 | − .map(|s| *s) | |
| 59 | + .copied() | |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | pub(crate) fn collect_initial_features<'a>( |