Skip to content

Commit a7b40f0

Browse files
committed
Make sv::Snapshot length pub(crate)
1 parent 49d9270 commit a7b40f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/snapshot_vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl<D> fmt::Debug for SnapshotVec<D>
6161
// Snapshots are tokens that should be created/consumed linearly.
6262
pub struct Snapshot {
6363
// Length of the undo log at the time the snapshot was taken.
64-
length: usize,
64+
pub(crate) length: usize,
6565
}
6666

6767
pub trait SnapshotVecDelegate {

0 commit comments

Comments
 (0)