Skip to content

Commit 263b4a0

Browse files
JalonWongzeenix
andauthored
Update src/llff.rs
Co-authored-by: Zeeshan Ali Khan <[email protected]>
1 parent be4beb7 commit 263b4a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/llff.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ impl Heap {
4141
///
4242
/// # Safety
4343
///
44-
/// Please ensure that `start_addr`` points to valid memory and that `size`` is correct.
44+
/// This function is safe if the following invariants hold:
45+
///
46+
/// * `start_addr`` points to valid memory.
47+
/// * `size`` is correct.
4548
///
4649
/// # Panics
4750
///

0 commit comments

Comments
 (0)