Resolve use of undeclared identifier 'slice' error

This commit is contained in:
Jonathan Bro 2021-06-25 23:41:06 +09:00
parent 39219bafd9
commit 39af857bdc

View File

@ -43,7 +43,7 @@ pub fn ReverseSliceIterator(comptime T: type) type {
}
pub fn reset(self: *@This()) void {
self.index = slice.len;
self.index = self.slice.len;
}
};
}