We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CValue::zst()
1 parent 12f35ad commit 64d0759Copy full SHA for 64d0759
1 file changed
compiler/rustc_codegen_cranelift/src/value_and_place.rs
@@ -98,7 +98,7 @@ impl<'tcx> CValue<'tcx> {
98
99
/// Create an instance of a ZST
100
///
101
- /// The is represented by a dangling pointer of suitable alignment.
+ /// The ZST is represented by a dangling pointer of suitable alignment.
102
pub(crate) fn zst(layout: TyAndLayout<'tcx>) -> CValue<'tcx> {
103
assert!(layout.is_zst());
104
CValue::by_ref(crate::Pointer::dangling(layout.align.abi), layout)
0 commit comments