diff options
| author | abdullathedruid <abdulla.alkamil@gmail.com> | 2024-06-18 00:52:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-18 00:52:53 +0100 |
| commit | b8a5fc7c43560ec5dec8469d858a3c6c82287ef4 (patch) | |
| tree | 717ece806b10669427a5950ce6ff21713e27ba5f | |
| parent | 6891225afa15b2ab1091e0a7e17be9fe1808c53e (diff) | |
| download | rust-b8a5fc7c43560ec5dec8469d858a3c6c82287ef4.tar.gz rust-b8a5fc7c43560ec5dec8469d858a3c6c82287ef4.zip | |
Update lib.rs
| -rw-r--r-- | src/tools/rust-analyzer/crates/syntax/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/syntax/src/lib.rs b/src/tools/rust-analyzer/crates/syntax/src/lib.rs index cb23755861b..b5d816b0ce1 100644 --- a/src/tools/rust-analyzer/crates/syntax/src/lib.rs +++ b/src/tools/rust-analyzer/crates/syntax/src/lib.rs @@ -442,7 +442,7 @@ fn api_walkthrough() { assert!(expr_syntax.siblings_with_tokens(Direction::Next).any(|it| it.kind() == T!['}'])); assert_eq!( expr_syntax.descendants_with_tokens().count(), - 8, // 5 tokens `1`, ` `, `+`, ` `, `!` + 8, // 5 tokens `1`, ` `, `+`, ` `, `1` // 2 child literal expressions: `1`, `1` // 1 the node itself: `1 + 1` ); |
