Skip to content

Commit 00bb877

Browse files
committed
Ruby: More QLDoc police
1 parent 9cd371f commit 00bb877

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/ql/lib/semmle/python/dataflow/new/internal/TypeTrackerSpecific.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TypeTrackerContent extends OptionalTypeTrackerContent {
2525
TypeTrackerContent() { this != "" }
2626
}
2727

28-
/** The content string representing no value. */
28+
/** Gets the content string representing no value. */
2929
OptionalTypeTrackerContent noContent() { result = "" }
3030

3131
/** A content set, which is currently just a singleton set for Python. */

ruby/ql/lib/codeql/ruby/typetracking/TypeTrackerSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ predicate basicStoreStep(Node nodeFrom, Node nodeTo, TypeTrackerContentSet conte
162162
}
163163

164164
/**
165-
* A `content`-store step from `nodeFrom -> nodeTo` where the destination node is a post-update
166-
* node that should be treated as a local source node.
165+
* Holds if a store step `nodeFrom -> nodeTo` with `contents` exists, where the destination node
166+
* is a post-update node that should be treated as a local source node.
167167
*/
168168
predicate postUpdateStoreStep(Node nodeFrom, Node nodeTo, TypeTrackerContentSet contents) {
169169
// TODO: support SetterMethodCall inside TuplePattern

0 commit comments

Comments
 (0)