Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #17444 - abdullathedruid:patch-1, r=lnicola
minor: Update lib.rs Update of comment in api walkthrough
bors 2024-06-18
parent 53be113 · parent 2592f31 · commit 021ae01
-rw-r--r--crates/syntax/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/src/lib.rs b/crates/syntax/src/lib.rs
index cb23755861..b5d816b0ce 100644
--- a/crates/syntax/src/lib.rs
+++ b/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`
);