diff options
| author | Mark Mansi <markm@cs.wisc.edu> | 2018-01-29 16:37:57 -0600 |
|---|---|---|
| committer | Mark Mansi <markm@cs.wisc.edu> | 2018-01-29 16:37:57 -0600 |
| commit | 2184400be7f6b695792af7ddde14482f3e72f1e1 (patch) | |
| tree | 3f2a02ad7f249fa3385092e4c3ec2af6ef054627 /src/libsyntax | |
| parent | e2d558ad56d03bdc59ab2aaa28aaedf9172a0539 (diff) | |
| download | rust-2184400be7f6b695792af7ddde14482f3e72f1e1.tar.gz rust-2184400be7f6b695792af7ddde14482f3e72f1e1.zip | |
Update comment
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_parser.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/ext/tt/macro_parser.rs b/src/libsyntax/ext/tt/macro_parser.rs index af18801c97e..1a9849ca530 100644 --- a/src/libsyntax/ext/tt/macro_parser.rs +++ b/src/libsyntax/ext/tt/macro_parser.rs @@ -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(), |
