From 1adfacf21d23cb5f8bf5ad2ebb3a3aa19c676112 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 29 Apr 2020 14:46:30 +0200 Subject: [PATCH] Fix dead link --- .../second-edition/posts/07-hardware-interrupts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/07-hardware-interrupts/index.md b/blog/content/second-edition/posts/07-hardware-interrupts/index.md index f3b56b6b..ec688909 100644 --- a/blog/content/second-edition/posts/07-hardware-interrupts/index.md +++ b/blog/content/second-edition/posts/07-hardware-interrupts/index.md @@ -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. -[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: