solution to exercise 03_06
This commit is contained in:
parent
852cd5f0b9
commit
56075fa40e
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user