File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
solution/1100-1199/1197.Minimum Knight Moves Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ impl Solution {
383
383
q_from . push_back ((x , y ));
384
384
385
385
while ! q_to . is_empty () && ! q_from . is_empty () {
386
- let step = if q_to . len () < q_from . len () {
386
+ let step = if q_to . len () < q_from . len () {
387
387
Self :: extend (& mut map_to , & mut map_from , & mut q_to )
388
388
} else {
389
389
Self :: extend (& mut map_from , & mut map_to , & mut q_from )
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ impl Solution {
362
362
q_from . push_back ((x , y ));
363
363
364
364
while ! q_to . is_empty () && ! q_from . is_empty () {
365
- let step = if q_to . len () < q_from . len () {
365
+ let step = if q_to . len () < q_from . len () {
366
366
Self :: extend (& mut map_to , & mut map_from , & mut q_to )
367
367
} else {
368
368
Self :: extend (& mut map_from , & mut map_to , & mut q_from )
You can’t perform that action at this time.
0 commit comments