Remove wrong Option in code example

This commit is contained in:
Philipp Oppermann
2018-11-05 13:34:04 +01:00
committed by GitHub
parent 24c6a85f18
commit 442da8c9eb

View File

@@ -359,7 +359,7 @@ However, there is a problem: Statics are immutable, so we can't modify the break
[`static mut`]: https://doc.rust-lang.org/book/second-edition/ch19-01-unsafe-rust.html#accessing-or-modifying-a-mutable-static-variable
```rust
static mut IDT: Option<InterruptDescriptorTable> = InterruptDescriptorTable::new();
static mut IDT: InterruptDescriptorTable = InterruptDescriptorTable::new();
pub fn init_idt() {
unsafe {