mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Rust: Add qldoc
This commit is contained in:
@@ -36,6 +36,7 @@ module Impl {
|
||||
pragma[nomagic]
|
||||
TupleField getTupleField(int i) { result = this.getFieldList().(TupleFieldList).getField(i) }
|
||||
|
||||
/** Gets the number of fields of this variant. */
|
||||
int getNumberOfFields() {
|
||||
not this.hasFieldList() and
|
||||
result = 0
|
||||
|
||||
Reference in New Issue
Block a user