Fix typo in comment.

This commit is contained in:
LukeMathWalker 2024-05-13 12:51:20 +02:00
parent 5edebf6cf2
commit 785c9af4be
1 changed files with 1 additions and 1 deletions

View File

@ -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");