Skip to content

Commit 8e613ee

Browse files
committed
fmt
1 parent 21692ca commit 8e613ee

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

trilogy-parser/src/syntax/syntax_error.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,9 @@ impl Display for SyntaxError {
8181
f,
8282
"the $ operator prefixing a tagged template requires a tag identifier"
8383
)?,
84-
ErrorKind::DoMissingParameterList => write!(
85-
f,
86-
"a `do` closure requires a parameter list, even if empty"
87-
)?,
84+
ErrorKind::DoMissingParameterList => {
85+
write!(f, "a `do` closure requires a parameter list, even if empty")?
86+
}
8887
}
8988

9089
Ok(())

0 commit comments

Comments
 (0)