Skip to content

Commit 029816c

Browse files
jcha0713lpil
authored andcommitted
style: use full name
1 parent 86c65e8 commit 029816c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler-cli/src/publish.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,15 @@ fn is_default_main(main: &TypedFunction, package_name: &EcoString) -> bool {
185185
return false;
186186
}
187187

188-
let Statement::Expression(expr) = main.body.first() else {
188+
let Statement::Expression(expression) = main.body.first() else {
189189
return false;
190190
};
191191

192-
if !expr.is_println() {
192+
if !expression.is_println() {
193193
return false;
194194
}
195195

196-
match expr {
196+
match expression {
197197
TypedExpr::Call { arguments, .. } => {
198198
if arguments.len() != 1 {
199199
return false;

0 commit comments

Comments
 (0)