Rust: Fix a couple of comments.

This commit is contained in:
Geoffrey White
2025-11-27 09:14:41 +00:00
parent d8027fb6d6
commit e8cb6b8f54
3 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ module LogInjection {
/**
* A barrier for log injection vulnerabilities for nodes whose type is a
* numeric or boolean type, which is unlikely to expose any vulnerability.
* numeric type, which is unlikely to expose any vulnerability.
*/
private class NumericTypeBarrier extends Barrier instanceof Barriers::NumericTypeBarrier { }

View File

@@ -60,8 +60,8 @@ module SqlInjection {
}
/**
* A barrier for SQL injection vulnerabilities for nodes whose type is a numeric or
* boolean type, which is unlikely to expose any vulnerability.
* A barrier for SQL injection vulnerabilities for nodes whose type is a numeric
* type, which is unlikely to expose any vulnerability.
*/
private class NumericTypeBarrier extends Barrier instanceof Barriers::NumericTypeBarrier { }

View File

@@ -89,7 +89,7 @@ module RegexInjection {
/**
* A barrier for regular expression injection vulnerabilities for nodes whose
* type is an integral or boolean type, which is unlikely to expose any vulnerability.
* type is an integral type, which is unlikely to expose any vulnerability.
*
* We don't include floating point types in this barrier, as `.` is a special character
* in regular expressions.