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
62 self.host = url.host().map(ToOwned::to_owned).map(|mut host| {62 self.host = url.host().map(ToOwned::to_owned).map(|mut host| {
63 if let Some(port) = url.port {63 if let Some(port) = url.port {
64 use std::fmt::Write;64 use std::fmt::Write;
65 write!(host, ":{}", port).expect("infallible");65 write!(host, ":{port}").expect("infallible");
66 }66 }
67 host67 host
68 });68 });

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