From 89e785bc00525c11f9961dcb786e17347f390536 Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Mon, 25 Sep 2023 16:35:54 +0200 Subject: [PATCH] chore: small change in wording ("postfix" to "suffix") --- yara-x-parser/src/warnings.rs | 2 +- yara-x/src/compiler/tests/warnings.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yara-x-parser/src/warnings.rs b/yara-x-parser/src/warnings.rs index 9438ced0a..862db3940 100644 --- a/yara-x-parser/src/warnings.rs +++ b/yara-x-parser/src/warnings.rs @@ -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, diff --git a/yara-x/src/compiler/tests/warnings.rs b/yara-x/src/compiler/tests/warnings.rs index a6f7e2763..6f62ea377 100644 --- a/yara-x/src/compiler/tests/warnings.rs +++ b/yara-x/src/compiler/tests/warnings.rs @@ -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 ───╯