We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2d558a commit 2184400Copy full SHA for 2184400
src/libsyntax/ext/tt/macro_parser.rs
@@ -113,7 +113,8 @@ enum TokenTreeOrTokenTreeVec {
113
}
114
115
impl TokenTreeOrTokenTreeVec {
116
- /// Returns the number of constituent token trees of `self`.
+ /// Returns the number of constituent top-level token trees of `self` (top-level in that it
117
+ /// will not recursively descend into subtrees).
118
fn len(&self) -> usize {
119
match *self {
120
TtSeq(ref v) => v.len(),
0 commit comments