From 07acf410b82941818c68310f5bf8891a11d18033 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Thu, 4 Jan 2024 02:02:44 +0900 Subject: [PATCH] Add todo comments about docs --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 99d4b359..2626bccc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -606,6 +606,7 @@ impl AtomicBool { Self { v: core::cell::UnsafeCell::new(v as u8) } } + // TODO: update docs based on https://github.com/rust-lang/rust/pull/116762 /// Creates a new `AtomicBool` from a pointer. /// /// # Safety @@ -1463,6 +1464,7 @@ impl AtomicPtr { Self { inner: imp::AtomicPtr::new(p) } } + // TODO: update docs based on https://github.com/rust-lang/rust/pull/116762 /// Creates a new `AtomicPtr` from a pointer. /// /// # Safety @@ -2450,6 +2452,7 @@ let atomic_forty_two = ", stringify!($atomic_type), "::new(42); } } + // TODO: update docs based on https://github.com/rust-lang/rust/pull/116762 doc_comment! { concat!("Creates a new reference to an atomic integer from a pointer. @@ -3549,6 +3552,7 @@ This type has the same in-memory representation as the underlying floating point Self { inner: imp::float::$atomic_type::new(v) } } + // TODO: update docs based on https://github.com/rust-lang/rust/pull/116762 doc_comment! { concat!("Creates a new reference to an atomic float from a pointer.