Prefer a two value enum over bool
This commit is contained in:
parent
30f168ef81
commit
4f2b108816
9 changed files with 19 additions and 23 deletions
|
@ -1600,7 +1600,7 @@ pub struct PatField<'hir> {
|
|||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Debug, HashStable_Generic)]
|
||||
#[derive(Copy, Clone, PartialEq, Debug, HashStable_Generic, Hash, Eq, Encodable, Decodable)]
|
||||
pub enum RangeEnd {
|
||||
Included,
|
||||
Excluded,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue