Skip to content

Commit

Permalink
Update packages/std/src/memory.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Otter <[email protected]>
  • Loading branch information
aumetra and chipshort authored Jan 21, 2025
1 parent 97d4dfd commit dd83308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/std/src/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ where
/// # Safety
///
/// This function requires the following invariants to be upheld:
/// - `capacity` is smaller or equal to `length`
/// - `length` is smaller or equal to `capacity`
/// - The number of bytes allocated by the pointer must be equal to `capacity`
/// - The byte range covered by `length` must be initialized
/// - `ptr` is a non-dangling and non-null pointer
Expand Down

0 comments on commit dd83308

Please sign in to comment.