Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherDaniel committed Dec 12, 2024
1 parent 8213445 commit 6060e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ impl UUri {
/// assert!(!authority_wildcard.is_remote(&authority_wildcard));
/// ````
pub fn is_remote(&self, other_uri: &UUri) -> bool {
self.is_remote_authority(other_uri.authority_name)
self.is_remote_authority(&other_uri.authority_name)
}

/// Check if an authority is remote compared to the authority field of the UUri.
Expand Down

0 comments on commit 6060e5c

Please sign in to comment.