str instead of String
This commit is contained in:
parent
b6c60beb2d
commit
4da6d8ccc7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue