File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_middle/src/ty Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1472,14 +1472,14 @@ impl Atom for RegionVid {
14721472pub enum InferTy {
14731473 /// A type variable.
14741474 TyVar ( TyVid ) ,
1475- /// An integral type variable.
1475+ /// An integral type variable (`{integer}`) .
14761476 ///
14771477 /// These are created when the compiler sees an integer literal like
14781478 /// `1` that could be several different types (`u8`, `i32`, `u32`, etc.).
14791479 /// We don't know until it's used what type it's supposed to be, so
14801480 /// we create a fresh type variable.
14811481 IntVar ( IntVid ) ,
1482- /// A floating-point type variable.
1482+ /// A floating-point type variable (`{float}`) .
14831483 ///
14841484 /// These are created when the compiler sees an float literal like
14851485 /// `1.0` that could be either an `f32` or an `f64`.
You can’t perform that action at this time.
0 commit comments