Skip to content

Commit 29edeeb

Browse files
committed
doc(error): fix typos
1 parent 055b886 commit 29edeeb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/constance/src/kernel/error.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ define_error! {
164164
/// specification. In this specification, the `act_tsk` (activate task)
165165
/// system service works by enqueueing an activation request. `E_QOVR`
166166
/// is used to report a condition in which an enqueue count limit has
167-
/// been reached. Our kernel doesn't support enqueueing actvation
167+
/// been reached. Our kernel doesn't support enqueueing activation
168168
/// request (at the moment), so any attempts to activate an
169169
/// already-active task will fail.
170170
QueueOverflow,
@@ -333,7 +333,7 @@ define_error! {
333333
///
334334
/// [a task context]: crate#contexts
335335
BadContext,
336-
/// The specified interrupt number or the specfied priority value is
336+
/// The specified interrupt number or the specified priority value is
337337
/// out of range.
338338
BadParam,
339339
}
@@ -347,7 +347,7 @@ define_error! {
347347
pub enum EnableInterruptLineError: BadParamError {
348348
/// The operation is not supported by the port.
349349
NotSupported,
350-
/// Enabling or disabling the specifeid interrupt line is not supported.
350+
/// Enabling or disabling the specified interrupt line is not supported.
351351
BadParam,
352352
}
353353
}

0 commit comments

Comments
 (0)