about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-05-28 01:11:48 +0200
committerGitHub <noreply@github.com>2022-05-28 01:11:48 +0200
commite96397b63faaa00cc3093530e9b7f2d02f59bd79 (patch)
tree711890639d5db9895aea3b9ca9d1a0c2d773368a /compiler
parent1174dba02f8fdda0c8100879a612b94d4737c22f (diff)
parent4781246a2c53d5ada354139861234e0a8e391133 (diff)
downloadrust-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.rs2
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>);