Skip to content

Commit

Permalink
Corrected clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1N committed Mar 3, 2024
1 parent 3baad92 commit 68dadc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memflow/src/architecture/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pub type ArchitectureObj = &'static dyn Architecture;
impl std::cmp::PartialEq<ArchitectureObj> for ArchitectureObj {
// This lint doesn't make any sense in our usecase, since we never leak underlying Architecture
// definitions, and each ARCH is a static trait object with a consistent address.
#[allow(clippy::ambiguous_wide_pointer_comparisons)]
#[allow(clippy::vtable_address_comparisons)]
fn eq(&self, other: &ArchitectureObj) -> bool {
std::ptr::eq(*self, *other)
}
Expand Down

0 comments on commit 68dadc8

Please sign in to comment.