Skip to content

Commit b5ac245

Browse files
authored
Unrolled build for #155306
Rollup merge of #155306 - DanielEScherzer:cvalue-zst-article, r=JohnTitor `CValue::zst()` - add missing "ZST" in docs
2 parents 32e4c0e + bd712bd commit b5ac245

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/rustc_codegen_cranelift/src/value_and_place.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl<'tcx> CValue<'tcx> {
9898

9999
/// Create an instance of a ZST
100100
///
101-
/// The is represented by a dangling pointer of suitable alignment.
101+
/// The ZST is represented by a dangling pointer of suitable alignment.
102102
pub(crate) fn zst(layout: TyAndLayout<'tcx>) -> CValue<'tcx> {
103103
assert!(layout.is_zst());
104104
CValue::by_ref(crate::Pointer::dangling(layout.align.abi), layout)

0 commit comments

Comments
 (0)