Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
xxhZs committed Sep 25, 2024
1 parent 895eab4 commit a7749eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/observer/observer_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl ObserverState for FrontendObserverNode {
let new_value_empty = new_log.new_value.is_empty();
let old_value_empty = new_log.old_value.is_empty();
if !new_value_empty || !old_value_empty {
Some(TableId::new(table_id.clone()))
Some(TableId::new(*table_id))
} else {
None
}
Expand Down Expand Up @@ -219,7 +219,7 @@ impl ObserverState for FrontendObserverNode {
if change_log.get_non_empty_epochs(0, usize::MAX).is_empty() {
None
} else {
Some(table_id.clone())
Some(*table_id)
}
})
.collect_vec();
Expand Down

0 comments on commit a7749eb

Please sign in to comment.