Update comment
This commit is contained in:
parent
e2d558ad56
commit
2184400be7
1 changed files with 2 additions and 1 deletions
|
@ -113,7 +113,8 @@ enum TokenTreeOrTokenTreeVec {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl 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 {
|
fn len(&self) -> usize {
|
||||||
match *self {
|
match *self {
|
||||||
TtSeq(ref v) => v.len(),
|
TtSeq(ref v) => v.len(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue