Skip to content

Commit 0a17c4c

Browse files
authored
fix comment
1 parent 6a7106c commit 0a17c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/collect/type_of.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ pub(super) fn type_of(tcx: TyCtxt<'_>, def_id: DefId) -> Ty<'_> {
255255
bug!("no arg matching AnonConst in path");
256256
});
257257

258-
// try to use the segment resolution if it is valid, otherwise we
258+
// Try to use the segment resolution if it is valid, otherwise we
259259
// default to the path resolution.
260260
let res = segment.res.filter(|&r| r != Res::Err).unwrap_or(path.res);
261261
let generics = match res {

0 commit comments

Comments
 (0)