Skip to content

Commit 9568b3b

Browse files
author
Markus Westerlind
committed
Fix review comments
1 parent beeafed commit 9568b3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/snapshot_vec.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ impl<D: SnapshotVecDelegate, V: VecLike<D> + Default, L: Default> SnapshotVec<D,
164164
}
165165

166166
impl<D: SnapshotVecDelegate, V: VecLike<D>, L> SnapshotVec<D, V, L> {
167-
/// Creates a `SnapshotVec` using the `undo_log`, allowing mutating methods to be called
167+
/// Creates a `SnapshotVec` using the `undo_log`, allowing mutating methods to be
168+
/// called if `L` does not implement `UndoLogs`
168169
pub fn with_log<'a, L2>(&'a mut self, undo_log: L2) -> SnapshotVec<D, &'a mut V, L2>
169170
where
170171
L2: UndoLogs<UndoLog<D>>,

0 commit comments

Comments
 (0)