Fix dead link

This commit is contained in:
Philipp Oppermann
2020-04-29 14:46:30 +02:00
parent a7a57578e9
commit 1adfacf21d

View File

@@ -178,7 +178,7 @@ impl InterruptIndex {
The enum is a [C-like enum] so that we can directly specify the index for each variant. The `repr(u8)` attribute specifies that each variant is represented as an `u8`. We will add more variants for other interrupts in the future. The enum is a [C-like enum] so that we can directly specify the index for each variant. The `repr(u8)` attribute specifies that each variant is represented as an `u8`. We will add more variants for other interrupts in the future.
[C-like enum]: https://doc.rust-lang.org/reference/items/enumerations.html#custom-discriminant-values-for-field-less-enumerations [C-like enum]: https://doc.rust-lang.org/reference/items/enumerations.html#custom-discriminant-values-for-fieldless-enumerations
Now we can add a handler function for the timer interrupt: Now we can add a handler function for the timer interrupt: