Skip to content

Commit bfa6113

Browse files
paldepindredsun82
andauthored
Rust: Fix grammar in comment
Co-authored-by: Paolo Tranquilli <[email protected]>
1 parent f7a45e6 commit bfa6113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/lib/codeql/rust/elements/internal/VariableImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ module Impl {
8585
// which we don't appear to recognize yet anyway. This also assumes programmers follow the
8686
// naming guidelines, which they generally do, but they're not enforced.
8787
not name.charAt(0).isUppercase() and
88-
// exclude parameters from functions without a bodies as these are trait method declarations
88+
// exclude parameters from functions without a body as these are trait method declarations
8989
// without implementations
9090
not exists(Function f | not f.hasBody() and f.getParamList().getAParam().getPat() = p)
9191
}

0 commit comments

Comments
 (0)