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 {
self.title
pub fn title(&self) -> &String {
&self.title
}
pub fn description(self) -> String {
self.description
pub fn description(&self) -> &String {
&self.description
}
pub fn status(self) -> String {
self.status
pub fn status(&self) -> &String {
&self.status
}
}