rust-embedded / bare-metal

Abstractions common to microcontrollers
Apache License 2.0
114 stars 16 forks source link

Document suitable conditions for the safety of CriticalSection and Mutex use #34

Closed thalesfragoso closed 4 years ago

thalesfragoso commented 4 years ago

For more information, see https://github.com/rust-embedded/bare-metal/pull/33 and more specifically, https://github.com/rust-embedded/bare-metal/pull/33#issuecomment-634210146.

I'm a bit on the fence (heh) with respect to the documentation of get_mut, I would like some feedback on that.

bors[bot] commented 4 years ago

Build succeeded: