From c56b876bfe4fbbe731b35da57690ec6d60305de3 Mon Sep 17 00:00:00 2001 From: sogaiu <983021772@users.noreply.github.com> Date: Wed, 13 Jan 2021 23:04:06 +0900 Subject: [PATCH] Tweak update docs --- src/boot/boot.janet | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/boot/boot.janet b/src/boot/boot.janet index 5766939a..05da3566 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -1399,9 +1399,9 @@ ds) (defn update - `Accepts a key argument and passes its associated value to a function. - The key is the re-associated to the function's return value. Returns the updated - data structure ds.` + ``Accepts a key argument and passes its associated value to a function. + The key is then re-associated to the function's return value. Returns the updated + data structure `ds`.`` [ds key func & args] (def old (get ds key)) (put ds key (func old ;args)))