Skip to content

Commit e0ef241

Browse files
committed
Rust: Small tweaks to doc comments based on PR feedback
1 parent b2fc4f8 commit e0ef241

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

shared/typeinference/codeql/typeinference/internal/TypeInference.qll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
547547
* Gets the type of the type argument at `path` in `a` that corresponds to
548548
* the type parameter `tp` in `target`, if any.
549549
*
550-
* Note, that this predicate crucially does not depend on type inference,
550+
* Note that this predicate crucially does not depend on type inference,
551551
* and hence can appear in negated position, e.g., as in
552552
* `directTypeMatch`.
553553
*/
@@ -615,12 +615,12 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
615615
* class Sub<T4> : Mid<C<T4>> { }
616616
*
617617
* new Sub<int>().ToString();
618-
* // ^^^^^^^^^^^^^^ `apos`
618+
* // ^^^^^^^^^^^^^^ node at `apos`
619619
* // ^^^^^^^^^^^^^^^^^^^^^^^^^ `a`
620620
* ```
621621
*
622-
* where the method call is an access and `new Sub<int>()` is an access
623-
* position , which is the receiver of a method call, we have:
622+
* where the method call is an access and `new Sub<int>()` is at an
623+
* access position, which is the receiver of a method call, we have:
624624
*
625625
* `baseMention` | `path` | `t`
626626
* ------------- | ------------ | ---
@@ -648,7 +648,7 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
648648

649649
/**
650650
* Holds if the type of `a` at `apos` has the base type `base`, and when
651-
* viewed as an element of that type has at `path` the type `t`.
651+
* viewed as an element of that type has the type `t` at `path`.
652652
*/
653653
pragma[nomagic]
654654
private predicate accessBaseType(

0 commit comments

Comments
 (0)