Fix: remove unnecessary dereference.
This commit is contained in:
parent
23ca48ca9e
commit
a1a96f6457
|
@ -124,7 +124,7 @@ mod tests {
|
||||||
assert_eq!(ticket.status, Status::InProgress);
|
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 sorted_ids = {
|
||||||
let mut v = ids.clone();
|
let mut v = ids.clone();
|
||||||
v.sort();
|
v.sort();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
fn intro() -> &'static str {
|
fn intro() -> &'static str {
|
||||||
// TODO: fix me 👇
|
// TODO: fix me 👇
|
||||||
"I'm ready to __!"
|
"I'm ready to _!"
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
Loading…
Reference in New Issue