Skip to content

Commit 0ffa2da

Browse files
committed
comma...
1 parent 0422745 commit 0ffa2da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_typeck/src/collect/type_of.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub(super) fn opt_const_param_of(tcx: TyCtxt<'_>, def_id: LocalDefId) -> Option<
4242
Node::Ty(hir_ty @ Ty { kind: TyKind::Path(QPath::TypeRelative(_, segment)), .. }) => {
4343
// Walk up from the parent_node to find an item so that
4444
// we can resolve the relative path to an actual associated type.
45-
// For the code example above this item would be the Foo trait.
45+
// For the code example above, this item would be the Foo trait.
4646
let item_hir_id = tcx
4747
.hir()
4848
.parent_iter(hir_id)

0 commit comments

Comments
 (0)