mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-17 09:23:05 +00:00
fix typos
This commit is contained in:
parent
d1b087fdee
commit
5ed40229ac
2
.github/ISSUE_TEMPLATE/ice.yml
vendored
2
.github/ISSUE_TEMPLATE/ice.yml
vendored
@ -10,7 +10,7 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
label: Summary
|
label: Summary
|
||||||
description: |
|
description: |
|
||||||
If possible, try to provide a minimal verifiable example. You can read ["Rust Bug Minimization Patterns"][mve] for how to create smaller examples. Otherwise, provide the crate where the ICE occured.
|
If possible, try to provide a minimal verifiable example. You can read ["Rust Bug Minimization Patterns"][mve] for how to create smaller examples. Otherwise, provide the crate where the ICE occurred.
|
||||||
|
|
||||||
[mve]: http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
|
[mve]: http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
|
||||||
validations:
|
validations:
|
||||||
|
@ -114,7 +114,7 @@ impl LateLintPass<'_> for UpperCaseAcronyms {
|
|||||||
check_ident(cx, &it.ident, self.upper_case_acronyms_aggressive);
|
check_ident(cx, &it.ident, self.upper_case_acronyms_aggressive);
|
||||||
},
|
},
|
||||||
ItemKind::Enum(ref enumdef, _) => {
|
ItemKind::Enum(ref enumdef, _) => {
|
||||||
// check enum variants seperately because again we only want to lint on private enums and
|
// check enum variants separately because again we only want to lint on private enums and
|
||||||
// the fn check_variant does not know about the vis of the enum of its variants
|
// the fn check_variant does not know about the vis of the enum of its variants
|
||||||
enumdef
|
enumdef
|
||||||
.variants
|
.variants
|
||||||
|
Loading…
Reference in New Issue
Block a user