We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Range
values_since_snapshot
1 parent 38fcb1c commit 7f939f0Copy full SHA for 7f939f0
src/unify/backing_vec.rs
@@ -1,8 +1,7 @@
1
#[cfg(feature = "persistent")]
2
use dogged::DVec;
3
use snapshot_vec as sv;
4
-use std::ops;
5
-use std::ops::RangeInclusive;
+use std::ops::{self, Range};
6
use std::marker::PhantomData;
7
8
use super::{VarValue, UnifyKey, UnifyValue};
@@ -31,8 +30,8 @@ pub trait UnificationStore:
31
30
32
fn commit(&mut self, snapshot: Self::Snapshot);
33
34
- fn values_since_snapshot(&mut self, snapshot: &Self::Snapshot) -> RangeInclusive<usize> {
35
- snapshot.len()..=self.len()
+ fn values_since_snapshot(&self, snapshot: &Self::Snapshot) -> Range<usize> {
+ snapshot.len()..self.len()
36
}
37
38
fn reset_unifications(
0 commit comments