Skip to content

Commit 7ff66f1

Browse files
committed
fix: style
1 parent a54feff commit 7ff66f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

solution/1100-1199/1197.Minimum Knight Moves/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ impl Solution {
383383
q_from.push_back((x, y));
384384

385385
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() {
387387
Self::extend(&mut map_to, &mut map_from, &mut q_to)
388388
} else {
389389
Self::extend(&mut map_from, &mut map_to, &mut q_from)

solution/1100-1199/1197.Minimum Knight Moves/README_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ impl Solution {
362362
q_from.push_back((x, y));
363363

364364
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() {
366366
Self::extend(&mut map_to, &mut map_from, &mut q_to)
367367
} else {
368368
Self::extend(&mut map_from, &mut map_to, &mut q_from)

0 commit comments

Comments
 (0)