From 92566fcdc43e08a441182a9a4b09630d09cb5b16 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 19 Apr 2017 12:17:57 +0200 Subject: [PATCH] Fix highlight line numbers --- blog/content/post/10-double-faults.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/post/10-double-faults.md b/blog/content/post/10-double-faults.md index 78ba896f..a2b972ee 100644 --- a/blog/content/post/10-double-faults.md +++ b/blog/content/post/10-double-faults.md @@ -848,7 +848,7 @@ We're almost done. We successfully loaded our new GDT, which contains a TSS desc For the first two steps, we need access to the `code_selector` and `tss_selector` variables outside of the closure. We can achieve this by moving the `let` declarations out of the closure: -{{< highlight rust "hl_lines=3 4 7 8 11 12 19 21" >}} +{{< highlight rust "hl_lines=3 4 5 8 9 12 13 20 22" >}} // in src/interrupts/mod.rs pub fn init(memory_controller: &mut MemoryController) { use x86_64::structures::gdt::SegmentSelector;