Skip to content

Commit 0379759

Browse files
psteinroeclaude
andcommitted
chore: rebase onto refactor/rules with test import fixes
Picked up test import fixes from base branch and applied codegen updates. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 821dd3a commit 0379759

File tree

1 file changed

+2
-2
lines changed
  • crates/pgls_configuration/src/linter

1 file changed

+2
-2
lines changed

crates/pgls_configuration/src/linter/rules.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ impl Rules {
7272
#[doc = r" The function can return `None` if the rule is not properly configured."]
7373
pub fn get_severity_from_code(&self, category: &Category) -> Option<Severity> {
7474
let mut split_code = category.name().split('/');
75-
let _category = split_code.next();
76-
debug_assert_eq!(_category, Some("lint"));
75+
let _lint = split_code.next();
76+
debug_assert_eq!(_lint, Some("lint"));
7777
let group = <RuleGroup as std::str::FromStr>::from_str(split_code.next()?).ok()?;
7878
let rule_name = split_code.next()?;
7979
let rule_name = Self::has_rule(group, rule_name)?;

0 commit comments

Comments
 (0)