Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/parser/src/syntax_kind/generated.rs')
| -rw-r--r-- | crates/parser/src/syntax_kind/generated.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/parser/src/syntax_kind/generated.rs b/crates/parser/src/syntax_kind/generated.rs index 8836bddc9b..e6f93a1fbd 100644 --- a/crates/parser/src/syntax_kind/generated.rs +++ b/crates/parser/src/syntax_kind/generated.rs @@ -1008,7 +1008,7 @@ impl ::core::cmp::Eq for SyntaxKind {} impl ::core::cmp::PartialOrd for SyntaxKind { #[inline] fn partial_cmp(&self, other: &Self) -> core::option::Option<core::cmp::Ordering> { - (*self as u16).partial_cmp(&(*other as u16)) + Some(self.cmp(other)) } } impl ::core::cmp::Ord for SyntaxKind { |