Skip to content

Commit 93959d4

Browse files
authored
unwrap -> expect
Signed-off-by: Shubham Mishra <[email protected]>
1 parent 54b77db commit 93959d4

File tree

1 file changed

+1
-1
lines changed
  • crates/datastore/src/locking_tx_datastore

1 file changed

+1
-1
lines changed

crates/datastore/src/locking_tx_datastore/mut_tx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2007,7 +2007,7 @@ impl MutTxId {
20072007
let StViewRow {
20082008
table_id, is_anonymous, ..
20092009
} = self.lookup_st_view(view_id)?;
2010-
let table_id = table_id.unwrap();
2010+
let table_id = table_id.expect("views have backing table");
20112011

20122012
if is_anonymous {
20132013
self.clear_table(table_id)?;

0 commit comments

Comments
 (0)