Skip to content

Commit

Permalink
add #[allow(clippy::missing_safety_doc)]
Browse files Browse the repository at this point in the history
  • Loading branch information
s5suzuki committed Sep 9, 2024
1 parent 6dd768e commit 932936f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions autd3-driver/src/datagram/stm/foci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ impl<const N: usize> DatagramST for FociSTM<N> {

// GRCOV_EXCL_START
impl<const N: usize> FociSTM<N> {
#[allow(clippy::missing_safety_doc)]
pub unsafe fn uninit() -> Self /* ignore miri */ {
Self {
control_points: vec![],
Expand Down
1 change: 1 addition & 0 deletions autd3-driver/src/datagram/stm/gain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ impl<G: Gain> DatagramST for GainSTM<G> {

// GRCOV_EXCL_START
impl GainSTM<BoxedGain<'static>> {
#[allow(clippy::missing_safety_doc)]
pub unsafe fn uninit() -> Self /* ignore miri */ {
Self {
gains: vec![],
Expand Down

0 comments on commit 932936f

Please sign in to comment.