Skip to content

Commit

Permalink
Add todo comments about docs
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 3, 2024
1 parent f5d06fc commit 07acf41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1463,6 +1464,7 @@ impl<T> AtomicPtr<T> {
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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 07acf41

Please sign in to comment.