diff --git a/src/uri.rs b/src/uri.rs index 4bfefae..5b58b8e 100644 --- a/src/uri.rs +++ b/src/uri.rs @@ -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.