diff options
Diffstat (limited to 'azalea-protocol/src/resolver.rs')
| -rwxr-xr-x | azalea-protocol/src/resolver.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea-protocol/src/resolver.rs b/azalea-protocol/src/resolver.rs index dde5af3a..d12654f2 100755 --- a/azalea-protocol/src/resolver.rs +++ b/azalea-protocol/src/resolver.rs @@ -19,6 +19,7 @@ pub enum ResolverError { /// Resolve a Minecraft server address into an IP address and port. /// If it's already an IP address, it's returned as-is. +#[must_use] #[async_recursion] pub async fn resolve_address(address: &ServerAddress) -> Result<SocketAddr, ResolverError> { // If the address.host is already in the format of an ip address, return it. |
