diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-05-28 01:11:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-28 01:11:48 +0200 |
| commit | e96397b63faaa00cc3093530e9b7f2d02f59bd79 (patch) | |
| tree | 711890639d5db9895aea3b9ca9d1a0c2d773368a /compiler | |
| parent | 1174dba02f8fdda0c8100879a612b94d4737c22f (diff) | |
| parent | 4781246a2c53d5ada354139861234e0a8e391133 (diff) | |
| download | rust-e96397b63faaa00cc3093530e9b7f2d02f59bd79.tar.gz rust-e96397b63faaa00cc3093530e9b7f2d02f59bd79.zip | |
Rollup merge of #97453 - lcnr:comment, r=jackh726
rename `TyKind` to `RegionKind` in comment in rustc_middle
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_middle/src/ty/sty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/sty.rs b/compiler/rustc_middle/src/ty/sty.rs index a973a5c9b50..2dabc696388 100644 --- a/compiler/rustc_middle/src/ty/sty.rs +++ b/compiler/rustc_middle/src/ty/sty.rs @@ -1469,7 +1469,7 @@ impl ParamConst { } } -/// Use this rather than `TyKind`, whenever possible. +/// Use this rather than `RegionKind`, whenever possible. #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, HashStable)] #[rustc_pass_by_value] pub struct Region<'tcx>(pub Interned<'tcx, RegionKind>); |
