Add initial conflict resolution
This commit is contained in:
parent
ce3a890237
commit
68d0f64058
3 changed files with 153 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ pub struct Bruteforce {
|
|||
impl Bruteforce {
|
||||
pub fn modify_pointer(&self) -> usize {
|
||||
self.pointer_stack
|
||||
.get(self.pointer_stack.len() - 2)
|
||||
.get(self.pointer_stack.len().saturating_sub(2))
|
||||
.copied()
|
||||
.unwrap_or(0)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue