From 37a0692a0fe5d9b41b65728d496b6856a1152dcc Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 4 Nov 2018 18:50:42 +0100 Subject: impl Mutex on all shared resources document how to write generic code that operates on resources --- src/tq.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tq.rs') diff --git a/src/tq.rs b/src/tq.rs index 88db2f8..8d52051 100644 --- a/src/tq.rs +++ b/src/tq.rs @@ -91,7 +91,7 @@ where #[inline(always)] pub fn isr(mut tq: TQ, mut f: F) where - TQ: Mutex>, + TQ: Mutex>, T: Copy + Send, N: ArrayLength>, F: FnMut(T, u8), -- cgit v1.2.3