Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Dec 5, 2023
1 parent 1f5f167 commit 60501da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions macro/src/dialect/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ enum TraitKind {
#[allow(unused)]
structural: bool,
},
Pred,
Predicate,
Internal {
name: String,
},
Expand All @@ -191,7 +191,7 @@ impl Trait {
pub fn new(definition: Record) -> Result<Self, Error> {
Ok(Self {
kind: if definition.subclass_of("PredTrait") {
TraitKind::Pred
TraitKind::Predicate
} else if definition.subclass_of("InterfaceTrait") {
TraitKind::Interface {
name: Self::name(definition)?,
Expand All @@ -216,7 +216,7 @@ impl Trait {
TraitKind::Native { name, .. }
| TraitKind::Internal { name }
| TraitKind::Interface { name } => name == expected_name,
TraitKind::Pred => false,
TraitKind::Predicate => false,
}
}

Expand Down

0 comments on commit 60501da

Please sign in to comment.