Update rust/ql/lib/codeql/rust/elements/internal/UnionImpl.qll

Co-authored-by: Simon Friis Vindum <paldepind@github.com>
This commit is contained in:
Tom Hvitved
2025-09-26 09:57:13 +02:00
committed by GitHub
parent 2a814dd37c
commit 7a74efcc82

View File

@@ -21,7 +21,7 @@ module Impl {
* ```
*/
class Union extends Generated::Union {
/** Gets the record field named `name`, if any. */
/** Gets the struct field named `name`, if any. */
pragma[nomagic]
StructField getStructField(string name) {
result = this.getStructFieldList().getAField() and