Fix: remove unnecessary dereference.

This commit is contained in:
LukeMathWalker 2024-05-13 14:25:23 +02:00
parent 23ca48ca9e
commit a1a96f6457
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ mod tests {
assert_eq!(ticket.status, Status::InProgress);
}
let ids: Vec<TicketId> = (&store).into_iter().map(|t| *t.id).collect();
let ids: Vec<TicketId> = (&store).into_iter().map(|t| t.id).collect();
let sorted_ids = {
let mut v = ids.clone();
v.sort();

View File

@ -1,6 +1,6 @@
fn intro() -> &'static str {
// TODO: fix me 👇
"I'm ready to __!"
"I'm ready to _!"
}
#[cfg(test)]