minor: modernize

This commit is contained in:
Aleksey Kladov 2021-09-06 18:42:07 +03:00
parent 0b4bff93fa
commit 682fbbbd5a
5 changed files with 6 additions and 6 deletions

View file

@ -1,10 +1,10 @@
//! Defines [`SyntaxKind`] -- a fieldless enum of all possible syntactic
//! constructs of the Rust language.
#[macro_use]
mod generated;
pub use self::generated::SyntaxKind;
#[allow(unreachable_pub)]
pub use self::generated::{SyntaxKind, T};
impl From<u16> for SyntaxKind {
#[inline]