]> git.lizzy.rs Git - rust.git/commitdiff
Update comment
authorMark Mansi <markm@cs.wisc.edu>
Mon, 29 Jan 2018 22:37:57 +0000 (16:37 -0600)
committerMark Mansi <markm@cs.wisc.edu>
Mon, 29 Jan 2018 22:37:57 +0000 (16:37 -0600)
src/libsyntax/ext/tt/macro_parser.rs

index af18801c97e6fa155803345cd5d5e91c7b367009..1a9849ca5307de616f1dd4f662ac94e4457a828f 100644 (file)
@@ -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(),