Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Oscar Spencer <oscar.spen@gmail.com>
  • Loading branch information
spotandjake and ospencer authored Aug 16, 2024
1 parent c60ce6f commit 3a29704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/runtime/unsafe/memory.gr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use WasmI32.{ (+), (-), (!=), ltU as (<), gtU as (>) }
provide { malloc, free, incRef, decRef }

/**
* Copies the given memory region into the given destination.
* Copies the source memory region to the destination memory region. Regions may overlap.
*
* @param dest: The destination memory region
* @param src: The source memory region
Expand All @@ -31,7 +31,7 @@ provide let copy = (dest, src, length) => {
}

/**
* Fills the given memory region with the given value.
* Fills the given memory region with the given 1-byte value. Values larger than 1 byte will be truncated.
*
* @param dest: The destination memory region
* @param value: The value to fill the memory region with
Expand Down

0 comments on commit 3a29704

Please sign in to comment.