Reword is_niche_optimization_candidate
doc
This commit is contained in:
parent
b3f6511755
commit
764f64f0d7
1 changed files with 1 additions and 1 deletions
|
@ -1099,7 +1099,7 @@ fn get_nullable_type<'tcx>(
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A type is niche_optimization_candiate iff:
|
/// A type is niche-optimization candidate iff:
|
||||||
/// - Is a zero-sized type with alignment 1 (a “1-ZST”).
|
/// - Is a zero-sized type with alignment 1 (a “1-ZST”).
|
||||||
/// - Has no fields.
|
/// - Has no fields.
|
||||||
/// - Does not have the `#[non_exhaustive]` attribute.
|
/// - Does not have the `#[non_exhaustive]` attribute.
|
||||||
|
|
Loading…
Add table
Reference in a new issue