Skip to content

Commit

Permalink
Merge pull request #1299 from spocino/patch-1
Browse files Browse the repository at this point in the history
fix typo'd variable name in post 3 (doesn't compile)
  • Loading branch information
phil-opp authored Feb 27, 2024
2 parents f557d1c + 5f3d388 commit ca86085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/content/edition-3/posts/03-screen-output/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ca86085

Please sign in to comment.