Small documentation fixes (#1627)

* Update language.md

* Update str.d.elv
This commit is contained in:
dunsany 2022-12-03 01:53:32 +01:00 committed by GitHub
parent 7e6bd950b1
commit 6a5c678f7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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`.