From 241be23a18f8ed5bc67106ea2b09ecd223d4c77c Mon Sep 17 00:00:00 2001 From: Per Graa Date: Sun, 7 Jan 2024 17:30:40 +0100 Subject: [PATCH] fix: typo `unusude` --- src/attribute.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/attribute.md b/src/attribute.md index 870beb1eeb..8c2c77ec78 100644 --- a/src/attribute.md +++ b/src/attribute.md @@ -33,7 +33,7 @@ with the difference between them being where they apply. - `#![inner_attribute]` applies to the enclosing [item][item] (typically a module or a crate). In other words, this attribute is interpreted as applying to the entire scope in which it's place. Here is an example - where `#![allow(unusude_variables)]` applies to the whole crate (if + where `#![allow(unused_variables)]` applies to the whole crate (if placed in `main.rs`): ```rust #![allow(unused_variables)]