Merge pull request #7371 from github/ruby/comment-new-syntax

Ruby: use Ruby object instantiation syntax in a comment
This commit is contained in:
Alex Ford
2021-12-13 13:23:03 +00:00
committed by GitHub

View File

@@ -82,7 +82,7 @@ module API {
* constructor is the function represented by this node.
*
* For example, if this node represents a use of some class `A`, then there might be a node
* representing instances of `A`, typically corresponding to expressions `new A()` at the
* representing instances of `A`, typically corresponding to expressions `A.new` at the
* source level.
*
* This predicate may have multiple results when there are multiple constructor calls invoking this API component.