diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-12-25 14:58:30 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-25 14:58:30 +0000 |
| commit | b74ca90f6049f54d856ca182f554448b348ff2bc (patch) | |
| tree | 8845460c0caa37e4d60b60c09c0ca5a3fdcc5df4 /src/lib.rs | |
| parent | c78177c37e3192c7a41a3ea8e7c139751c1a8989 (diff) | |
| parent | c297b4ee8d619d903b1b1673e47a8df25637d01b (diff) | |
Merge #564
564: Clippy lints r=korken89 a=AfoHT
Co-authored-by: Henrik Tjäder <henrik@grepit.se>
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -95,12 +95,20 @@ impl<T> RacyCell<T> { } /// Get `*mut T` + /// + /// # Safety + /// + /// See documentation notes for [`RacyCell`] #[inline(always)] pub unsafe fn get_mut(&self) -> *mut T { self.0.get() } /// Get `*const T` + /// + /// # Safety + /// + /// See documentation notes for [`RacyCell`] #[inline(always)] pub unsafe fn get(&self) -> *const T { self.0.get() |
