Add missing deprecation text for explode

Also, fix trivial typo in a comment as reported at
https://goreportcard.com/report/github.com/elves/elvish
This commit is contained in:
Kurtis Rader 2020-07-16 20:27:57 -07:00 committed by Qi Xiao
parent eb25c882ae
commit 9858d5a545
2 changed files with 3 additions and 1 deletions

View File

@ -82,6 +82,8 @@ import (
// explode $iterable
// ```
//
// This function is deprecated; use [all](#all) instead.
//
// Put all elements of `$iterable` on the structured stdout. Like `flatten` in
// functional languages. Equivalent to `[li]{ put $@li }`.
//

View File

@ -9,7 +9,7 @@ import (
"syscall"
)
// Returns a "run directory" for storing ephemeral files, which is guranteed
// Returns a "run directory" for storing ephemeral files, which is guaranteed
// to be only accessible to the current user.
//
// The path of the run directory is either $XDG_RUNTIME_DIR/elvish or