solution to exercise 03_06

This commit is contained in:
David Doblas Jiménez 2024-06-23 18:08:59 +02:00
parent 852cd5f0b9
commit 56075fa40e

View File

@ -34,16 +34,16 @@ impl Ticket {
} }
} }
pub fn title(self) -> String { pub fn title(&self) -> &String {
self.title &self.title
} }
pub fn description(self) -> String { pub fn description(&self) -> &String {
self.description &self.description
} }
pub fn status(self) -> String { pub fn status(&self) -> &String {
self.status &self.status
} }
} }