This commit is contained in:
Simon Gardling 2022-03-22 14:50:21 -04:00
parent 14c2fb4eda
commit b3963bb852

View File

@ -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
} }
} }