diff --git a/book/en/src/internals/critical-sections.md b/book/en/src/internals/critical-sections.md index 046098ef51..94aee2c750 100644 --- a/book/en/src/internals/critical-sections.md +++ b/book/en/src/internals/critical-sections.md @@ -50,7 +50,7 @@ const APP: () = { } #[interrupt(binds = UART1, priority = 2, resources = [x])] - fn bar(c: foo::Context) { + fn bar(c: bar::Context) { let mut x: &mut u64 = c.resources.x; *x += 1;