Showing the changes to git-credentials/src (1 of 100 files). Show all
Unified · Split
| @@ -62,7 +62,7 @@ mod mutate { · 61 unmodified lines | ||
| 62 | 62 | self.host = url.host().map(ToOwned::to_owned).map(|mut host| { |
| 63 | 63 | if let Some(port) = url.port { |
| 64 | 64 | use std::fmt::Write; |
| 65 | − write!(host, ":{}", port).expect("infallible"); | |
| 65 | + write!(host, ":{port}").expect("infallible"); | |
| 66 | 66 | } |
| 67 | 67 | host |
| 68 | 68 | }); |