aboutsummaryrefslogtreecommitdiff
path: root/src/interrupt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/interrupt.rs')
-rw-r--r--src/interrupt.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interrupt.rs b/src/interrupt.rs
index 2aff77e..6c84301 100644
--- a/src/interrupt.rs
+++ b/src/interrupt.rs
@@ -34,7 +34,7 @@ pub unsafe trait Nr {
unsafe impl<T> Sync for Mutex<T> {}
-/// Disable interrupts, globally
+/// Disables all interrupts
#[inline(always)]
pub fn disable() {
match () {
@@ -51,7 +51,7 @@ pub fn disable() {
}
}
-/// Enable interrupts, globally
+/// Enables all the interrupts
#[inline(always)]
pub fn enable() {
match () {