str instead of String

pull/2507/head
Philipp Mildenberger 2023-03-16 00:41:43 +01:00
parent b6c60beb2d
commit 4da6d8ccc7
1 changed files with 1 additions and 1 deletions

View File

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