From 66c68e3eb9480ac94f1eb714ba91df8d8db31e6c Mon Sep 17 00:00:00 2001 From: paulnice Date: Mon, 25 Apr 2022 23:18:22 -0700 Subject: [PATCH] Fix a typo --- 04_safe_globals/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04_safe_globals/README.md b/04_safe_globals/README.md index b42be642..bfb2b4fa 100644 --- a/04_safe_globals/README.md +++ b/04_safe_globals/README.md @@ -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)) + }