File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ fn generate_splinter_rule_doc(
7676 pgls_diagnostics:: Severity :: Error => "Error" ,
7777 _ => "Info" ,
7878 } ;
79- writeln ! ( content, "**Severity**: {}" , severity_str ) ?;
79+ writeln ! ( content, "**Severity**: {severity_str}" ) ?;
8080 writeln ! ( content) ?;
8181
8282 // Add Supabase requirement notice
@@ -98,7 +98,7 @@ fn generate_splinter_rule_doc(
9898
9999 // Add "Learn More" link with remediation URL
100100 if let Some ( remediation) = extract_remediation_from_sql ( splinter_meta. sql_content ) {
101- writeln ! ( content, "[Learn More]({})" , remediation ) ?;
101+ writeln ! ( content, "[Learn More]({remediation })" ) ?;
102102 writeln ! ( content) ?;
103103 }
104104
@@ -107,7 +107,7 @@ fn generate_splinter_rule_doc(
107107 writeln ! ( content) ?;
108108 writeln ! ( content, "```sql" ) ?;
109109 let sql_without_metadata = strip_metadata_from_sql ( splinter_meta. sql_content ) ;
110- writeln ! ( content, "{}" , sql_without_metadata ) ?;
110+ writeln ! ( content, "{sql_without_metadata}" ) ?;
111111 writeln ! ( content, "```" ) ?;
112112 writeln ! ( content) ?;
113113
You can’t perform that action at this time.
0 commit comments