File tree 1 file changed +2
-2
lines changed
compiler/rustc_middle/src/ty
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 {
1472
1472
pub enum InferTy {
1473
1473
/// A type variable.
1474
1474
TyVar ( TyVid ) ,
1475
- /// An integral type variable.
1475
+ /// An integral type variable (`{integer}`) .
1476
1476
///
1477
1477
/// These are created when the compiler sees an integer literal like
1478
1478
/// `1` that could be several different types (`u8`, `i32`, `u32`, etc.).
1479
1479
/// We don't know until it's used what type it's supposed to be, so
1480
1480
/// we create a fresh type variable.
1481
1481
IntVar ( IntVid ) ,
1482
- /// A floating-point type variable.
1482
+ /// A floating-point type variable (`{float}`) .
1483
1483
///
1484
1484
/// These are created when the compiler sees an float literal like
1485
1485
/// `1.0` that could be either an `f32` or an `f64`.
You can’t perform that action at this time.
0 commit comments