Skip to content

Commit

Permalink
Clippy: Fix items-after-test-module
Browse files Browse the repository at this point in the history
  • Loading branch information
Glamhoth committed Oct 9, 2023
1 parent 7687d80 commit 2f7bf48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/message_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ impl<T, const N: usize> DataProvider<T> for MessageQueue<T, N> {
}
}

unsafe impl<T, const N: usize> Sync for MessageQueue<T, N> {}

#[cfg(test)]
mod tests {
use super::*;
Expand All @@ -125,5 +127,3 @@ mod tests {
assert_eq!(queue100u64_size, stub_size);
}
}

unsafe impl<T, const N: usize> Sync for MessageQueue<T, N> {}

0 comments on commit 2f7bf48

Please sign in to comment.