From 5f3d38884c5d79b7a54f965b1b77567f1c1a4ccf Mon Sep 17 00:00:00 2001 From: Samuel Pocino <43758828+spocino@users.noreply.github.com> Date: Sat, 24 Feb 2024 20:32:28 -0500 Subject: [PATCH] fix typo'd variable name in post 3 (doesn't compile) --- blog/content/edition-3/posts/03-screen-output/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/edition-3/posts/03-screen-output/index.md b/blog/content/edition-3/posts/03-screen-output/index.md index 172c81f80..b81ea861f 100644 --- a/blog/content/edition-3/posts/03-screen-output/index.md +++ b/blog/content/edition-3/posts/03-screen-output/index.md @@ -474,7 +474,7 @@ fn kernel_main(boot_info: &'static mut bootloader_api::BootInfo) -> ! { let frame_buffer_struct = frame_buffer_option.unwrap(); // extract the framebuffer info and, to satisfy the borrow checker, clone it - let frame_buffer_info = frame_buffer.info().clone(); + let frame_buffer_info = frame_buffer_struct.info().clone(); // get the framebuffer's mutable raw byte slice let raw_frame_buffer = frame_buffer_struct.buffer_mut();