Skip to content

Commit 30ab073

Browse files
authored
update snapshot doc
1 parent 9546add commit 30ab073

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/snapshot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::ops::RangeBounds;
1010
///
1111
/// Snapshots keep a consistent view of the database at the time,
1212
/// meaning old data will not be dropped until it is not referenced by any active snapshot.
13-
/// For that reason, you should try to keep transactions short-lived, and make sure they
13+
/// For that reason, you should try to keep snapshots short-lived, and make sure they
1414
/// are not held somewhere *forever*.
1515
#[clippy::has_significant_drop]
1616
#[derive(Clone)]

0 commit comments

Comments
 (0)