Fix typo in comment.
This commit is contained in:
parent
5edebf6cf2
commit
785c9af4be
|
@ -55,7 +55,7 @@ mod tests {
|
|||
fn works() {
|
||||
let ticket = Ticket::new("A title".into(), "A description".into(), "To-Do".into());
|
||||
// If you change the signatures as requested, this should compile:
|
||||
// we can call these methods one after the after because they borrow `self`
|
||||
// we can call these methods one after the other because they borrow `self`
|
||||
// rather than taking ownership of it.
|
||||
assert_eq!(ticket.title(), "A title");
|
||||
assert_eq!(ticket.description(), "A description");
|
||||
|
|
Loading…
Reference in New Issue