Skip to content

Commit 021ae01

Browse files
committed
Auto merge of #17444 - abdullathedruid:patch-1, r=lnicola
minor: Update lib.rs Update of comment in api walkthrough
2 parents 53be113 + 2592f31 commit 021ae01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/syntax/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ fn api_walkthrough() {
442442
assert!(expr_syntax.siblings_with_tokens(Direction::Next).any(|it| it.kind() == T!['}']));
443443
assert_eq!(
444444
expr_syntax.descendants_with_tokens().count(),
445-
8, // 5 tokens `1`, ` `, `+`, ` `, `!`
445+
8, // 5 tokens `1`, ` `, `+`, ` `, `1`
446446
// 2 child literal expressions: `1`, `1`
447447
// 1 the node itself: `1 + 1`
448448
);

0 commit comments

Comments
 (0)