mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Update rust/ql/lib/codeql/rust/elements/internal/UnionImpl.qll
Co-authored-by: Simon Friis Vindum <paldepind@github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user