1
Fork 0

Clean up ext::tt::transcribe::TtFrame, rename to Frame.

This commit is contained in:
Jeffrey Seyfried 2017-01-27 11:00:10 +00:00
parent d09e512158
commit abdc68973e
3 changed files with 89 additions and 62 deletions

View file

@ -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 }
}
}