aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/init.rs2
-rw-r--r--macros/src/codegen/module.rs2
-rw-r--r--xtask/src/command.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/init.rs b/examples/init.rs
index c807a3c1..d37903ea 100644
--- a/examples/init.rs
+++ b/examples/init.rs
@@ -29,7 +29,7 @@ mod app {
let _x: &'static mut u32 = cx.local.x;
// Access to the critical section token,
- // to indicate that this is a critical seciton
+ // to indicate that this is a critical section
let _cs_token: bare_metal::CriticalSection = cx.cs;
hprintln!("init").unwrap();
diff --git a/macros/src/codegen/module.rs b/macros/src/codegen/module.rs
index a64abd8a..c6f7690f 100644
--- a/macros/src/codegen/module.rs
+++ b/macros/src/codegen/module.rs
@@ -140,7 +140,7 @@ pub fn codegen(ctxt: Context, app: &App, analysis: &Analysis) -> TokenStream2 {
let interrupt = &analysis
.interrupts
.get(&priority)
- .expect("RTIC-ICE: interrupt identifer not found")
+ .expect("RTIC-ICE: interrupt identifier not found")
.0;
let internal_spawn_ident = util::internal_task_ident(name, "spawn");
diff --git a/xtask/src/command.rs b/xtask/src/command.rs
index 889540c5..418f440c 100644
--- a/xtask/src/command.rs
+++ b/xtask/src/command.rs
@@ -136,7 +136,7 @@ pub fn run_command(command: &CargoCommand) -> anyhow::Result<RunResult> {
})
}
-/// Check if `run` was sucessful.
+/// Check if `run` was successful.
/// returns Ok in case the run went as expected,
/// Err otherwise
pub fn run_successful(run: &RunResult, expected_output_file: String) -> Result<(), TestRunError> {