clippy
This commit is contained in:
parent
14c2fb4eda
commit
b3963bb852
@ -43,10 +43,10 @@ impl SteppedVector {
|
|||||||
// data (just in case)
|
// data (just in case)
|
||||||
if self.data[possible_i] == x {
|
if self.data[possible_i] == x {
|
||||||
// It is valid!
|
// It is valid!
|
||||||
return Some(possible_i);
|
Some(possible_i)
|
||||||
} else {
|
} else {
|
||||||
// (For some reason) it wasn't!
|
// (For some reason) it wasn't!
|
||||||
return None;
|
None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user