From 6e818852d868eea963dd2b8489ba75b65c56fb1c Mon Sep 17 00:00:00 2001 From: EightFactorial Date: Mon, 30 Jan 2023 16:18:14 -0800 Subject: More packet fixes, tests, handle error (#61) * Fix packet, fix tests, fixedbitsets * Clippy: Nightmare Mode * Fix mistake * simplify impl Display and make thing pub --------- Co-authored-by: mat --- azalea-protocol/src/resolver.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'azalea-protocol/src/resolver.rs') 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 { // If the address.host is already in the format of an ip address, return it. -- cgit v1.2.3