Skip to content

Commit 2184400

Browse files
committed
Update comment
1 parent e2d558a commit 2184400

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libsyntax/ext/tt/macro_parser.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ enum TokenTreeOrTokenTreeVec {
113113
}
114114

115115
impl TokenTreeOrTokenTreeVec {
116-
/// Returns the number of constituent token trees of `self`.
116+
/// Returns the number of constituent top-level token trees of `self` (top-level in that it
117+
/// will not recursively descend into subtrees).
117118
fn len(&self) -> usize {
118119
match *self {
119120
TtSeq(ref v) => v.len(),

0 commit comments

Comments
 (0)