mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 12:12:50 +01:00
refactor: re-formatted channel.rs file
This commit is contained in:
parent
f2643a0076
commit
15b9db4c5d
1 changed files with 10 additions and 8 deletions
|
@ -38,6 +38,7 @@ pub struct Channel<T, const N: usize> {
|
|||
}
|
||||
|
||||
unsafe impl<T, const N: usize> Send for Channel<T, N> {}
|
||||
|
||||
unsafe impl<T, const N: usize> Sync for Channel<T, N> {}
|
||||
|
||||
struct UnsafeAccess<'a, const N: usize> {
|
||||
|
@ -176,6 +177,7 @@ impl LinkPtr {
|
|||
}
|
||||
|
||||
unsafe impl Send for LinkPtr {}
|
||||
|
||||
unsafe impl Sync for LinkPtr {}
|
||||
|
||||
impl<'a, T, const N: usize> core::fmt::Debug for Sender<'a, T, N> {
|
||||
|
|
Loading…
Reference in a new issue