Skip to content

Commit

Permalink
Fix typo in attribute.md
Browse files Browse the repository at this point in the history
  • Loading branch information
francescomari committed Feb 19, 2024
1 parent 2584df2 commit c7d3c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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
applying to the entire scope in which it's placed. Here is an example
where `#![allow(unused_variables)]` applies to the whole crate (if
placed in `main.rs`):
```rust
Expand Down

0 comments on commit c7d3c25

Please sign in to comment.