From 6060e5cde96d5496e3a83d55688b7a794600f018 Mon Sep 17 00:00:00 2001 From: Daniel Krippner Date: Thu, 12 Dec 2024 10:49:55 +0100 Subject: [PATCH] minor fix --- src/uri.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.