Fix old 2015 edition import path

This commit is contained in:
Philipp Oppermann
2019-01-25 14:19:20 +01:00
parent c677103c5e
commit 9cd801fd1f

View File

@@ -396,7 +396,7 @@ We can also use `hlt_loop` in our double fault exception handler as well:
```rust ```rust
// in src/interrupts.rs // in src/interrupts.rs
use hlt_loop; // new use crate::hlt_loop; // new
extern "x86-interrupt" fn double_fault_handler( extern "x86-interrupt" fn double_fault_handler(
stack_frame: &mut ExceptionStackFrame, stack_frame: &mut ExceptionStackFrame,