We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7a45e6 commit bfa6113Copy full SHA for bfa6113
rust/ql/lib/codeql/rust/elements/internal/VariableImpl.qll
@@ -85,7 +85,7 @@ module Impl {
85
// which we don't appear to recognize yet anyway. This also assumes programmers follow the
86
// naming guidelines, which they generally do, but they're not enforced.
87
not name.charAt(0).isUppercase() and
88
- // exclude parameters from functions without a bodies as these are trait method declarations
+ // exclude parameters from functions without a body as these are trait method declarations
89
// without implementations
90
not exists(Function f | not f.hasBody() and f.getParamList().getAParam().getPat() = p)
91
}
0 commit comments