Skip to content

Commit 1e2716d

Browse files
committed
remove reddundant braces
1 parent 7281a52 commit 1e2716d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

source/compiler/qsc/src/codegen/tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ mod base_profile {
586586
587587
attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="base_profile" "required_num_qubits"="1" "required_num_results"="1" }
588588
attributes #1 = { "irreversible" }
589-
attributes #2 = {{ "qdk_noise" }}
589+
attributes #2 = { "qdk_noise" }
590590
591591
; module flags
592592
@@ -708,7 +708,7 @@ mod adaptive_profile {
708708
709709
attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="adaptive_profile" "required_num_qubits"="1" "required_num_results"="1" }
710710
attributes #1 = { "irreversible" }
711-
attributes #2 = {{ "qdk_noise" }}
711+
attributes #2 = { "qdk_noise" }
712712
713713
; module flags
714714

source/compiler/qsc_codegen/src/qir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ impl ToQir<String> for rir::Program {
729729
fn get_additional_module_attributes(program: &rir::Program) -> String {
730730
let mut attrs = String::new();
731731
if program.attrs.contains(Attributes::QdkNoise) {
732-
attrs.push_str("\nattributes #2 = {{ \"qdk_noise\" }}");
732+
attrs.push_str("\nattributes #2 = { \"qdk_noise\" }");
733733
}
734734

735735
attrs

0 commit comments

Comments
 (0)