Skip to content

Commit

Permalink
chore: small change in wording ("postfix" to "suffix")
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Sep 25, 2023
1 parent f1267b6 commit 89e785b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yara-x-parser/src/warnings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub enum Warning {
},

#[warning("redundant case-insensitive modifier")]
#[label("the `i` postfix indicates that the pattern is case-insensitive", i_span)]
#[label("the `i` suffix indicates that the pattern is case-insensitive", i_span)]
#[label("the `nocase` modifier does the same", nocase_span)]
RedundantCaseModifier {
detailed_report: String,
Expand Down
2 changes: 1 addition & 1 deletion yara-x/src/compiler/tests/warnings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ rule test {
4 │ $a = /foo/i nocase
│ ┬ ───┬──
│ ╰───────── the `i` postfix indicates that the pattern is case-insensitive
│ ╰───────── the `i` suffix indicates that the pattern is case-insensitive
│ │
│ ╰──── the `nocase` modifier does the same
───╯
Expand Down

0 comments on commit 89e785b

Please sign in to comment.