History

thanks clippy

Sebastian Thiel committed 3 years ago

Commit bac57dd1 parent e22080e100 files · +172 −230Browse files

Showing the changes to git-credentials/src (1 of 100 files). Show all

Unified · Split

git-credentials/src/protocol/context/mod.rs+1−1
@@ -62,7 +62,7 @@ mod mutate { · 61 unmodified lines
6262 self.host = url.host().map(ToOwned::to_owned).map(|mut host| {
6363 if let Some(port) = url.port {
6464 use std::fmt::Write;
65− write!(host, ":{}", port).expect("infallible");
65+ write!(host, ":{port}").expect("infallible");
6666 }
6767 host
6868 });

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t