Skip to content

Commit ac1ec61

Browse files
committed
fixup! fixup! Fix clippy issues
1 parent da49e31 commit ac1ec61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stdsync/tracing/lazy_lock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl<T, F: FnOnce() -> T> Deref for LazyLock<T, F> {
5858
type Target = T;
5959

6060
fn deref(&self) -> &Self::Target {
61-
self.id.with_held(|| &self.inner)
61+
self.id.with_held(|| &*self.inner)
6262
}
6363
}
6464

0 commit comments

Comments
 (0)