Skip to content

Commit

Permalink
More docstring stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Jan 3, 2025
1 parent b67ac7e commit f6a27d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fidget/src/render/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ impl CancelToken {
/// a web worker.
///
/// To avoid a memory leak, the pointer must be converted back to a
/// `CancelToken` using [`CancelToken::from_raw`].
/// `CancelToken` using [`CancelToken::from_raw`]. In the meantime, users
/// should refrain from writing to the raw pointer.
#[doc(hidden)]
pub fn into_raw(self) -> *const AtomicBool {
Arc::into_raw(self.0)
Expand Down

0 comments on commit f6a27d6

Please sign in to comment.