Skip to content

Commit

Permalink
Merge pull request #55 from Anders429/lints
Browse files Browse the repository at this point in the history
Remove allowances of ptr_arg clippy lint.
  • Loading branch information
Anders429 authored Feb 16, 2022
2 parents 4b49cb1 + 1c73ed5 commit bec99bb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions src/registry/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ use core::{
};

pub trait RegistryDebug: Registry {
// TODO: Remove attribute when https://github.com/rust-lang/rust-clippy/issues/8366 is
// resolved.
#[allow(clippy::ptr_arg)]
unsafe fn extract_component_pointers<R>(
index: usize,
components: &[(*mut u8, usize)],
Expand Down
3 changes: 0 additions & 3 deletions src/registry/seal/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ pub trait Storage {
) where
R: Registry;

// TODO: Remove attribute when https://github.com/rust-lang/rust-clippy/issues/8366 is
// resolved.
#[allow(clippy::ptr_arg)]
unsafe fn new_components_with_capacity<R>(
components: &mut Vec<(*mut u8, usize)>,
length: usize,
Expand Down
3 changes: 0 additions & 3 deletions src/registry/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ where

#[cfg_attr(doc_cfg, doc(cfg(feature = "parallel")))]
pub trait RegistryDeserialize<'de>: Registry + 'de {
// TODO: Remove attribute when https://github.com/rust-lang/rust-clippy/issues/8366 is
// resolved.
#[allow(clippy::ptr_arg)]
unsafe fn deserialize_components_by_column<R, V>(
components: &mut Vec<(*mut u8, usize)>,
length: usize,
Expand Down

0 comments on commit bec99bb

Please sign in to comment.