str instead of String

This commit is contained in:
Philipp Mildenberger 2023-03-16 00:41:43 +01:00
parent b6c60beb2d
commit 4da6d8ccc7

View File

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