Skip to content

Commit

Permalink
more lints
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Apr 9, 2018
1 parent df81ca3 commit 758a77d
Show file tree
Hide file tree
Showing 2 changed files with 1,035 additions and 46 deletions.
2 changes: 1 addition & 1 deletion src/doc/rustc/src/lints/listing/allowed-by-default.md
Expand Up @@ -436,7 +436,7 @@ This lint detects enums with widely varying variant sizes. Some example code tha
```rust
enum En {
V0(u8),
VBig([u8; 1024]), //~ ERROR variant is more than three times larger
VBig([u8; 1024]),
}
```

Expand Down

0 comments on commit 758a77d

Please sign in to comment.