Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-i-m committed Jan 29, 2018
1 parent e2d558a commit 2184400
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libsyntax/ext/tt/macro_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ enum TokenTreeOrTokenTreeVec {
}

impl TokenTreeOrTokenTreeVec {
/// 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
/// will not recursively descend into subtrees).
fn len(&self) -> usize {
match *self {
TtSeq(ref v) => v.len(),
Expand Down

0 comments on commit 2184400

Please sign in to comment.