Skip to content

Commit

Permalink
func sig change
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Dec 14, 2024
1 parent ddd6b76 commit 2fa6d8b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions libs/sqf/src/analyze/lints/s12_invalid_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ use std::{ops::Range, sync::Arc};
crate::analyze::lint!(LintS12InvalidArgs);

impl Lint<SqfLintData> for LintS12InvalidArgs {
fn ident(&self) -> &str {
fn ident(&self) -> &'static str {
"invalid_args"
}
fn sort(&self) -> u32 {
120
}
fn description(&self) -> &str {
fn description(&self) -> &'static str {
"Invalid Args"
}
fn documentation(&self) -> &str {
fn documentation(&self) -> &'static str {
r"### Example
**Incorrect**
Expand Down
6 changes: 3 additions & 3 deletions libs/sqf/src/analyze/lints/s13_undefined.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ use std::{ops::Range, sync::Arc};
crate::analyze::lint!(LintS13Undefined);

impl Lint<SqfLintData> for LintS13Undefined {
fn ident(&self) -> &str {
fn ident(&self) -> &'static str {
"undefined"
}
fn sort(&self) -> u32 {
130
}
fn description(&self) -> &str {
fn description(&self) -> &'static str {
"Undefined Variable"
}
fn documentation(&self) -> &str {
fn documentation(&self) -> &'static str {
r"### Example
**Incorrect**
Expand Down
6 changes: 3 additions & 3 deletions libs/sqf/src/analyze/lints/s14_unused.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ use std::{ops::Range, sync::Arc};
crate::analyze::lint!(LintS14Unused);

impl Lint<SqfLintData> for LintS14Unused {
fn ident(&self) -> &str {
fn ident(&self) -> &'static str {
"unused"
}
fn sort(&self) -> u32 {
120
}
fn description(&self) -> &str {
fn description(&self) -> &'static str {
"Unused Var"
}
fn documentation(&self) -> &str {
fn documentation(&self) -> &'static str {
r"### Example
**Incorrect**
Expand Down
6 changes: 3 additions & 3 deletions libs/sqf/src/analyze/lints/s15_shadowed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ use std::{ops::Range, sync::Arc};
crate::analyze::lint!(LintS15Shadowed);

impl Lint<SqfLintData> for LintS15Shadowed {
fn ident(&self) -> &str {
fn ident(&self) -> &'static str {
"shadowed"
}
fn sort(&self) -> u32 {
150
}
fn description(&self) -> &str {
fn description(&self) -> &'static str {
"Shadowed Var"
}
fn documentation(&self) -> &str {
fn documentation(&self) -> &'static str {
r"### Example
**Incorrect**
Expand Down
6 changes: 3 additions & 3 deletions libs/sqf/src/analyze/lints/s16_not_private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ use std::{ops::Range, sync::Arc};
crate::analyze::lint!(LintS16NotPrivate);

impl Lint<SqfLintData> for LintS16NotPrivate {
fn ident(&self) -> &str {
fn ident(&self) -> &'static str {
"not_private"
}
fn sort(&self) -> u32 {
160
}
fn description(&self) -> &str {
fn description(&self) -> &'static str {
"Not Private Var"
}
fn documentation(&self) -> &str {
fn documentation(&self) -> &'static str {
r"### Example
**Incorrect**
Expand Down

0 comments on commit 2fa6d8b

Please sign in to comment.