From 7f9ff717b44ab93c4286ca8534b3a31d690a02e8 Mon Sep 17 00:00:00 2001 From: Gelez Date: Fri, 19 Jun 2020 13:00:43 +0200 Subject: [PATCH] Fix a small typo (#826) --- .../second-edition/posts/07-hardware-interrupts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/07-hardware-interrupts/index.md b/blog/content/second-edition/posts/07-hardware-interrupts/index.md index 61c72388..12cc3b5a 100644 --- a/blog/content/second-edition/posts/07-hardware-interrupts/index.md +++ b/blog/content/second-edition/posts/07-hardware-interrupts/index.md @@ -419,7 +419,7 @@ fn test_println_output() { We performed the following changes: -- We keep the writer locked for the complete test by using the `lock()` method explicitly. Instead of `println`, we use the [`writeln`] marco that allows printing to an already locked writer. +- We keep the writer locked for the complete test by using the `lock()` method explicitly. Instead of `println`, we use the [`writeln`] macro that allows printing to an already locked writer. - To avoid another deadlock, we disable interrupts for the tests duration. Otherwise the test might get interrupted while the writer is still locked. - Since the timer interrupt handler can still run before the test, we print an additional newline `\n` before printing the string `s`. This way, we avoid test failure when the timer handler already printed some `.` characters to the current line.