Use &str rather than &String.

This commit is contained in:
LukeMathWalker 2024-05-14 14:53:55 +02:00
parent 933d5dd4b4
commit 3d534dd336
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ impl Ticket {
status, status,
} }
} }
pub fn assigned_to(&self) -> &String { pub fn assigned_to(&self) -> &str {
todo!() todo!()
} }
} }