mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +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 {
|
class Union extends Generated::Union {
|
||||||
/** Gets the record field named `name`, if any. */
|
/** Gets the struct field named `name`, if any. */
|
||||||
pragma[nomagic]
|
pragma[nomagic]
|
||||||
StructField getStructField(string name) {
|
StructField getStructField(string name) {
|
||||||
result = this.getStructFieldList().getAField() and
|
result = this.getStructFieldList().getAField() and
|
||||||
|
|||||||
Reference in New Issue
Block a user