Skip to content

Commit

Permalink
make wrong_self_convention local
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed Apr 11, 2024
1 parent 131894d commit fee6c63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
incomplete_features,
clippy::field_reassign_with_default,
clippy::missing_safety_doc,
clippy::wrong_self_convention,
clippy::new_ret_no_self
)]
#![warn(
Expand Down
2 changes: 2 additions & 0 deletions src/run/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,13 @@ impl Trg {
}

#[inline(always)]
#[allow(clippy::wrong_self_convention)]
pub(super) fn as_wire(self) -> Wire {
Wire(self.0.0 as _)
}

#[inline(always)]
#[allow(clippy::wrong_self_convention)]
pub(super) fn as_port(self) -> Port {
self.0
}
Expand Down

0 comments on commit fee6c63

Please sign in to comment.