Skip to content

Commit 124aac2

Browse files
authored
Merge pull request #7371 from github/ruby/comment-new-syntax
Ruby: use Ruby object instantiation syntax in a comment
2 parents 7ff2ee6 + 4ae9266 commit 124aac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/ApiGraphs.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module API {
8282
* constructor is the function represented by this node.
8383
*
8484
* For example, if this node represents a use of some class `A`, then there might be a node
85-
* representing instances of `A`, typically corresponding to expressions `new A()` at the
85+
* representing instances of `A`, typically corresponding to expressions `A.new` at the
8686
* source level.
8787
*
8888
* This predicate may have multiple results when there are multiple constructor calls invoking this API component.

0 commit comments

Comments
 (0)