mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-15 14:55:04 +00:00
minor: modernize
This commit is contained in:
parent
0b4bff93fa
commit
682fbbbd5a
5 changed files with 6 additions and 6 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue