Skip to content

Commit

Permalink
chore(clippy): fix linting errors (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
changgyoopark-db authored Mar 28, 2024
1 parent 7340ce1 commit 7981b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ebr/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ fn try_drop_local_collector() {
}

thread_local! {
static COLLECTOR_ANCHOR: CollectorAnchor = CollectorAnchor;
static COLLECTOR_ANCHOR: CollectorAnchor = const { CollectorAnchor };
static LOCAL_COLLECTOR: AtomicPtr<Collector> = AtomicPtr::default();
}

Expand Down

0 comments on commit 7981b2e

Please sign in to comment.