Skip to content

Commit fbb6a6a

Browse files
committed
fix: correctly handle jointness
1 parent c0556bd commit fbb6a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/parser/src/grammar/generic_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn generic_arg(p: &mut Parser) {
5151
path_ty.abandon(p);
5252
m.complete(p, ASSOC_TYPE_ARG);
5353
}
54-
T![:] if p.nth(1) == T![:] => {
54+
T![:] if p.at(T![::]) => {
5555
// NameRef::, this is a path type
5656
path_seg.complete(p, PATH_SEGMENT);
5757
let qual = path.complete(p, PATH);

0 commit comments

Comments
 (0)