From 74cadb15a36c628d53b34d6cade97ae8fd3d821c Mon Sep 17 00:00:00 2001 From: Mark Schmale Date: Thu, 4 Aug 2016 13:58:49 +0200 Subject: [PATCH] removed extra "use" (#197) I'm not a native speaker so I'm not 100% sure but I guess this "use" shouldn't be there. --- blog/post/2016-08-03-better-exception-messages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/post/2016-08-03-better-exception-messages.md b/blog/post/2016-08-03-better-exception-messages.md index 7d24e2cd..05d6eb64 100644 --- a/blog/post/2016-08-03-better-exception-messages.md +++ b/blog/post/2016-08-03-better-exception-messages.md @@ -424,7 +424,7 @@ macro_rules! handler { ``` The macro takes a single Rust identifier (`ident`) as argument and expands to a `{}` block (hence the double braces). The block defines a new wrapper function that calls the function `$name` and passes a pointer to the exception stack frame. Note that we're fixing the argument type to `*const ExceptionStackFrame`. If we used a `_` like before, the passed function could accept an arbitrary argument, which would lead to ugly bugs at runtime. -Now we can use remove the `divide_by_zero_wrapper` and use our new `handler!` macro instead: +Now we can remove the `divide_by_zero_wrapper` and use our new `handler!` macro instead: ```rust // in src/interrupts/mod.rs