Skip to content

Commit

Permalink
fixing clippy and fmt issues
Browse files Browse the repository at this point in the history
  • Loading branch information
xunilrj committed Aug 15, 2023
1 parent ea6eab5 commit 21a576d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sway-lsp/src/utils/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ pub(crate) fn print_decl_engine_types(
format!("{expression:#?}")
}
ty::TyAstNodeContent::SideEffect(side_effect) => format!("{side_effect:#?}"),
ty::TyAstNodeContent::Error(_, _) => format!("error"),
ty::TyAstNodeContent::Error(_, _) => "error".to_string(),
})
.map(|s| format!("{s}\n"))
.collect()
Expand Down

0 comments on commit 21a576d

Please sign in to comment.