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
This commit is contained in:
Brian Kung
2020-10-03 03:35:09 -05:00
committed by GitHub
parent 4213609b1e
commit fb8b03e82d

View File

@@ -339,7 +339,7 @@ impl Writer {
self.buffer.chars[row][col].write(ScreenChar { self.buffer.chars[row][col].write(ScreenChar {
ascii_character: byte, ascii_character: byte,
color_code: color_code, color_code,
}); });
... ...
} }