Skip to content

Commit 060d8bb

Browse files
committed
add #[allow(unused)]
1 parent f5e56ee commit 060d8bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/thread/local.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ mod lazy {
311311
}
312312
}
313313

314+
#[allow(unused)]
314315
pub unsafe fn take(&mut self) -> Option<T> {
315316
(*self.inner.get()).take()
316317
}

0 commit comments

Comments
 (0)