Skip to content

Commit 76e9c41

Browse files
committed
Fix no_std compilation
1 parent 6298ade commit 76e9c41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ast/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11701,7 +11701,7 @@ pub enum OptimizerHintStyle {
1170111701
}
1170211702

1170311703
impl fmt::Display for OptimizerHint {
11704-
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11704+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
1170511705
match &self.style {
1170611706
OptimizerHintStyle::SingleLine { prefix } => {
1170711707
f.write_str(prefix)?;

0 commit comments

Comments
 (0)