We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16b2bc6 commit 4e1a8b3Copy full SHA for 4e1a8b3
1 file changed
kernel/src/transaction/mod.rs
@@ -682,8 +682,8 @@ impl<S> Transaction<S> {
682
self.read_snapshot_opt.is_none()
683
}
684
685
- /// Returns the read snapshot. Returns an error if this is a create-table transaction.
686
- /// To get the `Option<SnapshotRef>` directly, use the `read_snapshot_opt` field.
+ // Returns the read snapshot. Returns an error if this is a create-table transaction.
+ // To get the `Option<SnapshotRef>` directly, use the `read_snapshot_opt` field.
687
fn read_snapshot(&self) -> DeltaResult<&Snapshot> {
688
self.read_snapshot_opt.as_deref().ok_or_else(|| {
689
Error::internal_error("read_snapshot() called on create-table transaction")
0 commit comments