diff --git a/docs/func/stdlib.md b/docs/func/stdlib.md index 95d3a05..3101d49 100644 --- a/docs/func/stdlib.md +++ b/docs/func/stdlib.md @@ -926,7 +926,7 @@ Similar to `dict_replace?`, but accept a builder. (cell, (int, slice, int)) ~udict::delete_get_min(cell dict, int key_len) asm(-> 0 2 1 3) "DICTUREMMIN" "NULLSWAPIFNOT2"; (cell, (slice, slice, int)) ~dict::delete_get_min(cell dict, int key_len) asm(-> 0 2 1 3) "DICTREMMIN" "NULLSWAPIFNOT2"; ``` -Computes the minimal key `k` in the dictionary `dict`, removes it and returns `(dict', x, k, -1)`, where `dict'` is the modified version of `dict` and `x` is the value associated with `k`. If the dict is empty, returns `(dict, null, null, 0)`. +Computes the minimal key `k` in the dictionary `dict`, removes it and returns `(dict', k, x, -1)`, where `dict'` is the modified version of `dict` and `x` is the value associated with `k`. If the dict is empty, returns `(dict, null, null, 0)`. Note that the key returned by `idict_delete_get_min` may differ from the key returned by `dict_delete_get_min` and `udict_delete_get_min`. @@ -939,7 +939,7 @@ Note that the key returned by `idict_delete_get_min` may differ from the key ret (cell, (int, slice, int)) ~idict::delete_get_max(cell dict, int key_len) asm(-> 0 2 1 3) "DICTIREMMAX" "NULLSWAPIFNOT2"; (cell, (slice, slice, int)) ~dict::delete_get_max(cell dict, int key_len) asm(-> 0 2 1 3) "DICTREMMAX" "NULLSWAPIFNOT2"; ``` -Computes the maximal key `k` in the dictionary `dict`, removes it and returns `(dict', x, k, -1)`, where `dict'` is the modified version of `dict` and `x` is the value associated with `k`. If the dict is empty, returns `(dict, null, null, 0)`. +Computes the maximal key `k` in the dictionary `dict`, removes it and returns `(dict', k, x, -1)`, where `dict'` is the modified version of `dict` and `x` is the value associated with `k`. If the dict is empty, returns `(dict, null, null, 0)`. #### dict_get_min? ```