From 2dca8c948f47a1c23e9f33bff26721f5a33f2fd8 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Tue, 21 Apr 2020 22:03:48 +0200 Subject: More docs --- src/mutex.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/mutex.rs b/src/mutex.rs index 86bd5d5..0975b83 100644 --- a/src/mutex.rs +++ b/src/mutex.rs @@ -1,4 +1,8 @@ //! Implementation of a critical section based mutex that also implements the `mutex-trait`. +//! +//! ## Safety +//! +//! Note that this is only safe in single core applications. use core::cell::UnsafeCell; -- cgit v1.2.3