mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-01 16:04:33 +01:00
fix(rtic-sync): used fully qualified paths in Channel Macro
This commit is contained in:
parent
534d42edf5
commit
f2643a0076
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ impl<T, const N: usize> Channel<T, N> {
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! make_channel {
|
macro_rules! make_channel {
|
||||||
($type:path, $size:expr) => {{
|
($type:path, $size:expr) => {{
|
||||||
static mut CHANNEL: Channel<$type, $size> = Channel::new();
|
static mut CHANNEL: ::rtic_sync::channel::Channel<$type, $size> = ::rtic_sync::channel::Channel::new();
|
||||||
|
|
||||||
// SAFETY: This is safe as we hide the static mut from others to access it.
|
// SAFETY: This is safe as we hide the static mut from others to access it.
|
||||||
// Only this point is where the mutable access happens.
|
// Only this point is where the mutable access happens.
|
||||||
|
|
Loading…
Reference in a new issue