Fix a typo

pull/159/head
paulnice 2 years ago committed by Andre Richter
parent 55499d0c61
commit 66c68e3eb9

@ -177,7 +177,7 @@ diff -uNr 03_hacky_hello_world/src/bsp/raspberrypi/console.rs 04_safe_globals/sr
+/// serialize access.
+impl console::interface::Write for QEMUOutput {
+ fn write_fmt(&self, args: core::fmt::Arguments) -> fmt::Result {
+ // Fully qualified syntax for the call to `core::fmt::Write::write:fmt()` to increase
+ // Fully qualified syntax for the call to `core::fmt::Write::write_fmt()` to increase
+ // readability.
+ self.inner.lock(|inner| fmt::Write::write_fmt(inner, args))
+ }

Loading…
Cancel
Save