From 9b94bdffed9d4f6040c669fc698e787b2f7e2ab1 Mon Sep 17 00:00:00 2001 From: ccesare Date: Sun, 27 May 2018 10:19:46 -0400 Subject: [PATCH] Small typo in second edition VGA buffer chapter (#434) --- blog/content/second-edition/posts/03-vga-text-buffer/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/03-vga-text-buffer/index.md b/blog/content/second-edition/posts/03-vga-text-buffer/index.md index 117bec21..6dd6df34 100644 --- a/blog/content/second-edition/posts/03-vga-text-buffer/index.md +++ b/blog/content/second-edition/posts/03-vga-text-buffer/index.md @@ -375,7 +375,7 @@ impl Writer { fn clear_row(&mut self, row: usize) {/* TODO */} } ``` -We iterate over all screen characters and move each characters one row up. Note that the range notation (`..`) is exclusive the upper bound. We also omit the 0th row (the first range starts at `1`) because it's the row that is shifted off screen. +We iterate over all screen characters and move each character one row up. Note that the range notation (`..`) is exclusive the upper bound. We also omit the 0th row (the first range starts at `1`) because it's the row that is shifted off screen. To finish the newline code, we add the `clear_row` method: