Skip to content

Commit 64d0759

Browse files
CValue::zst() - add missing article in docs
1 parent 12f35ad commit 64d0759

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)