Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullathedruid authored Jun 17, 2024
1 parent 6891225 commit b8a5fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/rust-analyzer/crates/syntax/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
);
Expand Down

0 comments on commit b8a5fc7

Please sign in to comment.