Skip to content

Commit

Permalink
Silence some clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Jun 30, 2024
1 parent 759797c commit 27a0cfb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/diff/dijkstra.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ mod tests {
)];
init_all_info(&lhs, &rhs);

let start = Vertex::new(lhs.get(0).copied(), rhs.get(0).copied());
let start = Vertex::new(lhs.first().copied(), rhs.first().copied());
let vertex_arena = Bump::new();
let route = shortest_path(start, &vertex_arena, 0, DEFAULT_GRAPH_LIMIT).unwrap();

Expand Down Expand Up @@ -362,7 +362,7 @@ mod tests {
)];
init_all_info(&lhs, &rhs);

let start = Vertex::new(lhs.get(0).copied(), rhs.get(0).copied());
let start = Vertex::new(lhs.first().copied(), rhs.first().copied());
let vertex_arena = Bump::new();
let route = shortest_path(start, &vertex_arena, 0, DEFAULT_GRAPH_LIMIT).unwrap();

Expand Down Expand Up @@ -408,7 +408,7 @@ mod tests {
)];
init_all_info(&lhs, &rhs);

let start = Vertex::new(lhs.get(0).copied(), rhs.get(0).copied());
let start = Vertex::new(lhs.first().copied(), rhs.first().copied());
let vertex_arena = Bump::new();
let route = shortest_path(start, &vertex_arena, 0, DEFAULT_GRAPH_LIMIT).unwrap();

Expand Down Expand Up @@ -449,7 +449,7 @@ mod tests {
)];
init_all_info(&lhs, &rhs);

let start = Vertex::new(lhs.get(0).copied(), rhs.get(0).copied());
let start = Vertex::new(lhs.first().copied(), rhs.first().copied());
let vertex_arena = Bump::new();
let route = shortest_path(start, &vertex_arena, 0, DEFAULT_GRAPH_LIMIT).unwrap();

Expand Down Expand Up @@ -481,7 +481,7 @@ mod tests {
)];
init_all_info(&lhs, &rhs);

let start = Vertex::new(lhs.get(0).copied(), rhs.get(0).copied());
let start = Vertex::new(lhs.first().copied(), rhs.first().copied());
let vertex_arena = Bump::new();
let route = shortest_path(start, &vertex_arena, 0, DEFAULT_GRAPH_LIMIT).unwrap();

Expand Down Expand Up @@ -521,7 +521,7 @@ mod tests {
)];
init_all_info(&lhs, &rhs);

let start = Vertex::new(lhs.get(0).copied(), rhs.get(0).copied());
let start = Vertex::new(lhs.first().copied(), rhs.first().copied());
let vertex_arena = Bump::new();
let route = shortest_path(start, &vertex_arena, 0, DEFAULT_GRAPH_LIMIT).unwrap();

Expand Down

0 comments on commit 27a0cfb

Please sign in to comment.