diff options
| author | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-03-23 17:08:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-23 17:08:41 +0100 |
| commit | 0a17c4c1904ec20b6ec975e44282323c83668751 (patch) | |
| tree | 7a56a3e55d92e9e1f332a35e58a690e7e2de6523 /src | |
| parent | 6a7106cb328e0e43b2a0e1c07dc5c0cfbd1b31b9 (diff) | |
| download | rust-0a17c4c1904ec20b6ec975e44282323c83668751.tar.gz rust-0a17c4c1904ec20b6ec975e44282323c83668751.zip | |
fix comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_typeck/collect/type_of.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/collect/type_of.rs b/src/librustc_typeck/collect/type_of.rs index f085486900d..16c8689ae0c 100644 --- a/src/librustc_typeck/collect/type_of.rs +++ b/src/librustc_typeck/collect/type_of.rs @@ -255,7 +255,7 @@ pub(super) fn type_of(tcx: TyCtxt<'_>, def_id: DefId) -> Ty<'_> { bug!("no arg matching AnonConst in path"); }); - // try to use the segment resolution if it is valid, otherwise we + // Try to use the segment resolution if it is valid, otherwise we // default to the path resolution. let res = segment.res.filter(|&r| r != Res::Err).unwrap_or(path.res); let generics = match res { |
