Skip to content

Commit f72cc93

Browse files
committed
Fix no_std compilation
1 parent 1c15d27 commit f72cc93

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
@@ -11723,7 +11723,7 @@ pub enum OptimizerHintStyle {
1172311723
}
1172411724

1172511725
impl fmt::Display for OptimizerHint {
11726-
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11726+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
1172711727
match &self.style {
1172811728
OptimizerHintStyle::SingleLine { prefix } => {
1172911729
f.write_str(prefix)?;

0 commit comments

Comments
 (0)