Use &str rather than &String.
This commit is contained in:
parent
933d5dd4b4
commit
3d534dd336
|
@ -37,7 +37,7 @@ impl Ticket {
|
|||
status,
|
||||
}
|
||||
}
|
||||
pub fn assigned_to(&self) -> &String {
|
||||
pub fn assigned_to(&self) -> &str {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue