Skip to content

Commit 22376a6

Browse files
psteinroeclaude
andcommitted
fix: apply clippy formatting to splinter_docs
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e86fa47 commit 22376a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/codegen/src/splinter_docs.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)