Skip to content

Commit

Permalink
dev: review clippy::missing_safety_doc
Browse files Browse the repository at this point in the history
Add Todo for `clone_from_raw` saftey doc.

Update Todo: finished clippy review.
  • Loading branch information
da2ce7 committed May 8, 2024
1 parent 0ddb5ce commit 4e569be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions src/atomics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ impl<T> AsPtr<T> for Weak<T> {
}

pub trait CloneFromRaw<T> {
// Todo: add safety documentation for this trait-function.
#[allow(clippy::missing_safety_doc)]
unsafe fn clone_from_raw(ptr: *const T) -> Self;
}
Expand Down
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,3 @@ pub(crate) mod utils {
pub(crate) mod unrolled_linked_list;
pub(crate) mod unsafe_arc;
}

// Todo:
// - Review Ignored Clippy Warnings

0 comments on commit 4e569be

Please sign in to comment.