Fix typo in 05-cpu-exceptions (#653)

Thanks for the great tutorial. Here is a typo I found.
This commit is contained in:
Funfoolsuzi
2019-08-09 00:26:39 -07:00
committed by Philipp Oppermann
parent 87c64cf255
commit 4b3fbd27cc

View File

@@ -373,7 +373,7 @@ Note how this solution requires no `unsafe` blocks. The `lazy_static!` macro doe
### Running it ### Running it
The last step for making exceptions work in our kernel it to call the `init_idt` function from our `main.rs`. Instead of calling it directly, we introduce a general `init` function in our `lib.rs`: The last step for making exceptions work in our kernel is to call the `init_idt` function from our `main.rs`. Instead of calling it directly, we introduce a general `init` function in our `lib.rs`:
```rust ```rust
// in src/lib.rs // in src/lib.rs