Skip to content

Commit

Permalink
Fix another index check
Browse files Browse the repository at this point in the history
  • Loading branch information
mcimadamore committed May 10, 2024
1 parent d46387a commit 629000d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ public sealed interface MemoryLayout
* selected layout and {@code S} is the size of the accessed memory segment.</li>
* <li>If the provided layout path has an open path element whose size is {@code S},
* its corresponding trailing {@code long} coordinate value {@code I} must be
* {@code 0 < I < S}, or an {@link IndexOutOfBoundsException} is thrown.</li>
* {@code 0 <= I < S}, or an {@link IndexOutOfBoundsException} is thrown.</li>
* </ul>
*
* @apiNote The returned method handle can be used to obtain a memory segment slice,
Expand Down

0 comments on commit 629000d

Please sign in to comment.