edit: change 'Length' to 'Len'

This commit is contained in:
randomicon00 2024-06-11 08:49:30 -04:00
parent f6fc109fcb
commit df63300092
3 changed files with 5 additions and 5 deletions

View file

@ -75,7 +75,7 @@ pub(crate) enum Op {
Index {
depth: usize,
},
Length {
Len {
depth: usize,
},
Count {
@ -345,7 +345,7 @@ fn parse_metavar_expr(new_meta_vars: bool, src: &mut TtIter<'_, Span>) -> Result
Op::Ignore { name: ident.text.clone(), id: ident.span }
}
"index" => Op::Index { depth: parse_depth(&mut args)? },
"length" => Op::Length { depth: parse_depth(&mut args)? },
"len" => Op::Len { depth: parse_depth(&mut args)? },
"count" => {
if new_meta_vars {
args.expect_dollar()?;