Skip to content

Commit

Permalink
Fix clippy warning in the MIR printer
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed Oct 9, 2024
1 parent 93fe584 commit 5c0239e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/mir/printer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub(crate) fn to_dot(db: &Database, methods: &[&Method]) -> String {
ins.format(db)
.replace('>', ">")
.replace('<', "&lt;")
.replace("&", "&amp;"),
.replace('&', "&amp;"),
ins.location().line_start,
);
}
Expand Down

0 comments on commit 5c0239e

Please sign in to comment.