diff options
author | 2018-10-26 19:55:34 +0200 | |
---|---|---|
committer | 2018-10-26 19:55:34 +0200 | |
commit | 1e04df6258f43e7f74559f4d32acfa681d7be173 (patch) | |
tree | 65e3d5abc59dcfdbc010aab0a57a308ed8a8b85f | |
parent | 0eff0b2f9857679249b7285593a691b1257c1f8e (diff) | |
download | cortex-m-1e04df6258f43e7f74559f4d32acfa681d7be173.tar.gz cortex-m-1e04df6258f43e7f74559f4d32acfa681d7be173.tar.zst cortex-m-1e04df6258f43e7f74559f4d32acfa681d7be173.zip |
remove hidden variant
it was there to maybe support adding DebugMonitor in the future but it has
already been added
-rw-r--r-- | src/peripheral/scb.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/peripheral/scb.rs b/src/peripheral/scb.rs index d381637..888a3db 100644 --- a/src/peripheral/scb.rs +++ b/src/peripheral/scb.rs @@ -704,10 +704,6 @@ pub enum SystemHandler { /// System Tick interrupt SysTick, - - // Make this enum extensible - #[doc(hidden)] - __DO_NOT_MATCH_AGAINST_THIS_VARIANT__, } impl SystemHandler { @@ -726,7 +722,6 @@ impl SystemHandler { SystemHandler::DebugMonitor => 12, SystemHandler::PendSV => 14, SystemHandler::SysTick => 15, - SystemHandler::__DO_NOT_MATCH_AGAINST_THIS_VARIANT__ => unreachable!(), } } } |