mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vlib: update doc comments (#19231)
This commit is contained in:
parent
78c34326f1
commit
f755118e7c
13 changed files with 22 additions and 20 deletions
|
@ -16,8 +16,8 @@ pub fn getenv(key string) string {
|
|||
return getenv_opt(key) or { '' }
|
||||
}
|
||||
|
||||
// `getenv_opt` returns the value of the environment variable named by the key
|
||||
// If there is not one found, it returns `none`.
|
||||
// `getenv_opt` returns the value of a given environment variable.
|
||||
// Returns `none` if the environment variable does not exist.
|
||||
[manualfree]
|
||||
pub fn getenv_opt(key string) ?string {
|
||||
unsafe {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue