Clean up ext::tt::transcribe::TtFrame
, rename to Frame
.
This commit is contained in:
parent
d09e512158
commit
abdc68973e
3 changed files with 89 additions and 62 deletions
|
@ -50,8 +50,8 @@ pub enum DelimToken {
|
|||
}
|
||||
|
||||
impl DelimToken {
|
||||
pub fn len(&self) -> u32 {
|
||||
if *self == NoDelim { 0 } else { 1 }
|
||||
pub fn len(self) -> usize {
|
||||
if self == NoDelim { 0 } else { 1 }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue