Skip to content

Commit

Permalink
Update s19_extra_not.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Oct 22, 2024
1 parent 82f29fa commit ccc1e87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/sqf/src/analyze/lints/s19_extra_not.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use hemtt_workspace::{

use crate::{analyze::SqfLintData, Expression, UnaryCommand};

crate::lint!(LintS19ExtraNot);
crate::analyze::lint!(LintS19ExtraNot);

impl Lint<SqfLintData> for LintS19ExtraNot {
fn ident(&self) -> &str {
Expand Down Expand Up @@ -128,7 +128,7 @@ impl Code19ExtraNot {
.generate_processed(processed)
}
fn generate_processed(mut self, processed: &Processed) -> Self {
self.diagnostic = Diagnostic::new_for_processed(&self, self.span.clone(), processed);
self.diagnostic = Diagnostic::from_code_processed(&self, self.span.clone(), processed);
self
}
}

0 comments on commit ccc1e87

Please sign in to comment.