aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/lib.rs')
-rw-r--r--azalea-protocol/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs
index fb271433..be706ebe 100644
--- a/azalea-protocol/src/lib.rs
+++ b/azalea-protocol/src/lib.rs
@@ -41,7 +41,7 @@ pub struct ServerAddress {
pub port: u16,
}
-impl TryFrom<&'_ str> for ServerAddress {
+impl TryFrom<&str> for ServerAddress {
type Error = String;
/// Convert a Minecraft server address (host:port, the port is optional) to