diff options
author | 2017-04-11 22:22:13 -0500 | |
---|---|---|
committer | 2017-04-11 22:22:13 -0500 | |
commit | 5531a594d3564c94734d36b067fa7bb4c4cb0bd6 (patch) | |
tree | 2445e1c74ada5fa2079e2871c75cd347e41ed64c /src/peripheral/mod.rs | |
parent | e5fd02bd1c13bec4cc2e170f382000737857fcfc (diff) | |
download | cortex-m-5531a594d3564c94734d36b067fa7bb4c4cb0bd6.tar.gz cortex-m-5531a594d3564c94734d36b067fa7bb4c4cb0bd6.tar.zst cortex-m-5531a594d3564c94734d36b067fa7bb4c4cb0bd6.zip |
remove the, now unnecessary, unsafe blocks
Diffstat (limited to 'src/peripheral/mod.rs')
-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 d14d782..78ddfdb 100644 --- a/src/peripheral/mod.rs +++ b/src/peripheral/mod.rs @@ -386,7 +386,7 @@ impl Nvic { { let nr = interrupt.nr(); - unsafe { self.ipr[usize::from(nr)].write(prio) } + self.ipr[usize::from(nr)].write(prio) } } |