From fb8b03e82d9805473fed16e8795a78a020a6b537 Mon Sep 17 00:00:00 2001 From: Brian Kung <2836167+briankung@users.noreply.github.com> Date: Sat, 3 Oct 2020 03:35:09 -0500 Subject: [PATCH] Use shorthand initialization from earlier code (#864) Minor change, but keep the shorthand struct initialization seen previously at line 201: https://github.com/phil-opp/blog_os/blame/master/blog/content/second-edition/posts/03-vga-text-buffer/index.md#L201 --- 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 f7aedba6..0bbf92c7 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 @@ -339,7 +339,7 @@ impl Writer { self.buffer.chars[row][col].write(ScreenChar { ascii_character: byte, - color_code: color_code, + color_code, }); ... }