diff options
author | 2017-12-09 11:34:39 +0100 | |
---|---|---|
committer | 2017-12-09 11:35:50 +0100 | |
commit | 385e0cda4893abce71a42633b953b7bee42b5947 (patch) | |
tree | 123e2ad3ed7fd1b7abe65be8bfa07040e0754fa5 /src | |
parent | ce5bee6e37b4127040224523a1af85c275401a18 (diff) | |
download | cortex-m-385e0cda4893abce71a42633b953b7bee42b5947.tar.gz cortex-m-385e0cda4893abce71a42633b953b7bee42b5947.tar.zst cortex-m-385e0cda4893abce71a42633b953b7bee42b5947.zip |
docs: unhide `Peripherals::steal` method
Diffstat (limited to 'src')
-rw-r--r-- | src/peripheral/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripheral/mod.rs b/src/peripheral/mod.rs index a2c768e..dbe3e35 100644 --- a/src/peripheral/mod.rs +++ b/src/peripheral/mod.rs @@ -80,7 +80,7 @@ impl Peripherals { }) } - #[doc(hidden)] + /// Unchecked version of `Peripherals::steal` pub unsafe fn steal() -> Self { debug_assert!(!CORE_PERIPHERALS); |