Skip to content

Commit

Permalink
fix: Remove quotes from println output (#3574)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom French <[email protected]>
  • Loading branch information
grasshopper47 and TomAFrench authored Nov 27, 2023
1 parent a0eab0c commit 127b6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_printable_type/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ fn to_string(value: &PrintableValue, typ: &PrintableType) -> Option<String> {
}

(PrintableValue::String(s), PrintableType::String { .. }) => {
output.push_str(&format!(r#""{s}""#));
output.push_str(s);
}

(PrintableValue::Struct(map), PrintableType::Struct { name, fields, .. }) => {
Expand Down

0 comments on commit 127b6aa

Please sign in to comment.