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 | self.all_argument_prefixes() | 56 | self.all_argument_prefixes() |
| 57 | .iter() | 57 | .iter() |
| 58 | .filter(|s| !(s.ends_with(' ') || s.ends_with('='))) | 58 | .filter(|s| !(s.ends_with(' ') || s.ends_with('='))) |
| 59 | .map(|s| *s) | 59 | .copied() |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | pub(crate) fn collect_initial_features<'a>( | 62 | pub(crate) fn collect_initial_features<'a>( |