str instead of String

pull/2507/head
Philipp Mildenberger 2 years ago
parent b6c60beb2d
commit 4da6d8ccc7

@ -242,7 +242,7 @@ impl Client {
Ok((client, server_rx, initialize_notify)) Ok((client, server_rx, initialize_notify))
} }
pub fn name(&self) -> &String { pub fn name(&self) -> &str {
&self.name &self.name
} }

Loading…
Cancel
Save