mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Run cargo fix
This commit is contained in:
parent
6605dbaff3
commit
171c176833
24 changed files with 44 additions and 44 deletions
|
@ -1,4 +1,4 @@
|
|||
use SyntaxKind;
|
||||
use crate::SyntaxKind;
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
pub(crate) struct TokenSet(pub(crate) u128);
|
||||
|
@ -29,7 +29,7 @@ macro_rules! token_set_union {
|
|||
|
||||
#[test]
|
||||
fn token_set_works_for_tokens() {
|
||||
use SyntaxKind::*;
|
||||
use crate::SyntaxKind::*;
|
||||
let ts = token_set! { EOF, SHEBANG };
|
||||
assert!(ts.contains(EOF));
|
||||
assert!(ts.contains(SHEBANG));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue