mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-11-28 15:31:20 +08:00
Small documentation fixes (#1627)
* Update language.md * Update str.d.elv
This commit is contained in:
parent
7e6bd950b1
commit
6a5c678f7e
|
@ -287,7 +287,7 @@ fn trim-left {|str cutset| }
|
|||
# ```
|
||||
fn trim-prefix {|str prefix| }
|
||||
|
||||
# Outputs `$str` with all leading Unicode code points contained in `$cutset`
|
||||
# Outputs `$str` with all trailing Unicode code points contained in `$cutset`
|
||||
# removed. To remove a suffix string use [`str:trim-suffix`](#str:trim-suffix).
|
||||
#
|
||||
# ```elvish-transcript
|
||||
|
|
|
@ -2509,7 +2509,7 @@ There is experimental support for importing modules written in Go. See the
|
|||
|
||||
### Circular dependencies
|
||||
|
||||
Circular dependencies are allowed but has an important restriction. If a module
|
||||
Circular dependencies are allowed but have an important restriction. If a module
|
||||
`a` contains `use b` and module `b` contains `use a`, the top-level statements
|
||||
in module `b` will only be able to access variables that are defined before the
|
||||
`use b` in module `a`; other variables will be `$nil`.
|
||||
|
|
Loading…
Reference in New Issue
Block a user