Rust: More-or-less the Copilot suggestion.

This commit is contained in:
Geoffrey White
2026-06-25 15:21:51 +01:00
parent 4aa53b6be9
commit 3403cffe51

View File

@@ -160,7 +160,7 @@ module HardcodedCryptographicValue {
* An arithmetic or bitwise operation that acts as a barrier.
*
* This prevents false positives where a hard-coded value is combined with
* non-constant data through operations like `+`, `^`, or `+=`.
* non-constant data through operations like `+`, `^`, or `+=` (including string concatenation).
*/
private class ArithmeticOperationBarrier extends Barrier {
ArithmeticOperationBarrier() {