enable ref_patterns lint

This commit is contained in:
Charles Hall 2024-05-12 18:38:12 -07:00
parent 6bdaeab1af
commit d144db8688
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
6 changed files with 10 additions and 9 deletions

View file

@ -93,7 +93,7 @@ impl FedDest {
fn into_uri_string(self) -> String {
match self {
Self::Literal(addr) => addr.to_string(),
Self::Named(host, ref port) => host + port,
Self::Named(host, port) => format!("{host}{port}"),
}
}