diff options
| author | Ubuntu <github@matdoes.dev> | 2022-11-15 20:38:32 +0000 |
|---|---|---|
| committer | Ubuntu <github@matdoes.dev> | 2022-11-15 20:38:32 +0000 |
| commit | 614c0df0537567c75f781df7affc091a4a466226 (patch) | |
| tree | ffd4b23e4692cbdd6c966d389901fbe24d0ad76b /azalea/src/pathfinder/mod.rs | |
| parent | 9f78b3f4a7229033a3f5acaad6c8fffbe24e3e75 (diff) | |
| download | azalea-drasl-614c0df0537567c75f781df7affc091a4a466226.tar.xz | |
clippy
Diffstat (limited to 'azalea/src/pathfinder/mod.rs')
| -rw-r--r-- | azalea/src/pathfinder/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index d62b3e05..9fd9fe90 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -77,7 +77,7 @@ impl Trait for azalea_client::Client { let dimension = self.dimension.read(); for possible_move in possible_moves.iter() { edges.push(Edge { - target: possible_move.next_node(&node), + target: possible_move.next_node(node), cost: possible_move.cost(&dimension, node), }); } |
