Skip to content

Commit af6853d

Browse files
committed
fix(parser): lowercase commands in Display
1 parent e8f7d42 commit af6853d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

parser/src/ast.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,9 @@ pub enum BuiltinFunction {
299299
Rshift,
300300
}
301301

302-
#[derive(Debug, Clone, Copy, Display)]
303302
#[repr(u8)]
303+
#[derive(Debug, Clone, Copy, Display)]
304+
#[display(rename_all = "lowercase")]
304305
pub enum Command {
305306
Print,
306307
Printf,

0 commit comments

Comments
 (0)