Skip to content

Commit e01907c

Browse files
committed
wip
1 parent 2027055 commit e01907c

File tree

7 files changed

+341
-188
lines changed

7 files changed

+341
-188
lines changed

rust/ql/lib/codeql/rust/frameworks/stdlib/Stdlib.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,5 +303,6 @@ class Vec extends Struct {
303303
pragma[nomagic]
304304
Vec() { this.getCanonicalPath() = "alloc::vec::Vec" }
305305

306+
/** Gets the type parameter representing the element type. */
306307
TypeParam getElementTypeParam() { result = this.getGenericParamList().getTypeParam(0) }
307308
}

0 commit comments

Comments
 (0)