diff options
author | Jo-Philipp Wich <jo@mein.io> | 2024-02-21 20:54:17 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2024-02-21 20:54:17 +0100 |
commit | ba3855ae3775197f3594fc2615cac539075bd2fb (patch) | |
tree | 5b4c76027b77381dc771fbfa7357d6851d529098 /lib.c | |
parent | 70769441110f9583e520ba2068e0b6827cd6debc (diff) |
lib: fix documentation typo for `pop()` function
The function pops the last, not the first element from the array.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -596,7 +596,7 @@ uc_push(uc_vm_t *vm, size_t nargs) } /** - * Pops the first item from the given array and returns it. + * Pops the last item from the given array and returns it. * * Returns `null` if the array was empty or if a non-array argument was passed. * |