diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-07-08 21:16:16 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-07-08 21:16:16 +0200 |
| commit | 551e3af9d09a03aaa246cac46b98124bc10835ba (patch) | |
| tree | b075a93df7cb608eae9650e497fb6a1336d80212 /src/syntax/token.rs | |
| parent | 5c327e249e03ac303e7fef40e2df6c6ef834db66 (diff) | |
Replace using with from
Diffstat (limited to 'src/syntax/token.rs')
| -rw-r--r-- | src/syntax/token.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax/token.rs b/src/syntax/token.rs index 425dac10..c14cf9f7 100644 --- a/src/syntax/token.rs +++ b/src/syntax/token.rs @@ -101,8 +101,8 @@ pub enum Token<'s> { Import, /// The `include` keyword. Include, - /// The `using` keyword. - Using, + /// The `from` keyword. + From, /// One or more whitespace characters. /// /// The contained `usize` denotes the number of newlines that were contained @@ -254,7 +254,7 @@ impl<'s> Token<'s> { Self::Return => "keyword `return`", Self::Import => "keyword `import`", Self::Include => "keyword `include`", - Self::Using => "keyword `using`", + Self::From => "keyword `from`", Self::Space(_) => "space", Self::Text(_) => "text", Self::UnicodeEscape(_) => "unicode escape sequence", |
