Skip to content

Commit c9599c4

Browse files
improve comment
1 parent 5e81d64 commit c9599c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_llvm/src/consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub fn const_alloc_to_llvm(cx: &CodegenCx<'ll, '_>, alloc: &Allocation) -> &'ll
2929
let pointer_size = dl.pointer_size.bytes() as usize;
3030

3131
// Note: this function may call `inspect_with_uninit_and_ptr_outside_interpreter`,
32-
// so `range` must be within the bounds of `alloc` and not within a relocation.
32+
// so `range` must be within the bounds of `alloc` and not contain or overlap a relocation.
3333
fn append_chunks_of_init_and_uninit_bytes<'ll, 'a, 'b>(
3434
llvals: &mut Vec<&'ll Value>,
3535
cx: &'a CodegenCx<'ll, 'b>,

0 commit comments

Comments
 (0)