Skip to content

Commit

Permalink
Merge pull request #1818 from francescomari/fix-typo
Browse files Browse the repository at this point in the history
Fix typo in attribute.md
  • Loading branch information
marioidival authored Feb 19, 2024
2 parents 2584df2 + c7d3c25 commit 672dfd6
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 672dfd6

Please sign in to comment.