fmt: rustfmt
This commit is contained in:
parent
43a25ed66f
commit
0699795c2a
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ fn is_also_safe(arr: &[i32]) -> bool {
|
|||
for (i, _item) in arr.iter().enumerate() {
|
||||
let mut test = arr.to_vec();
|
||||
test.remove(i);
|
||||
also_safe = if is_safe(&test) {true} else {also_safe};
|
||||
also_safe = if is_safe(&test) { true } else { also_safe };
|
||||
}
|
||||
}
|
||||
safe || also_safe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue