summaryrefslogtreecommitdiff
path: root/examples/process
diff options
context:
space:
mode:
authorSteven <burnett@posteo.de>2026-01-25 23:51:28 +0000
committerSteven <burnett@posteo.de>2026-01-25 23:51:28 +0000
commita5e8a3734fd850de53ad917d55ee5c2e73f39190 (patch)
tree6955576d11a995c07962cd9964fa3efa6fa92672 /examples/process
parent9d0b18336f45c3e51b0f9251a49a74ae9a9f7b63 (diff)
fix(examples): env use correct name env-variable
Diffstat (limited to 'examples/process')
-rw-r--r--examples/process/env.zc8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/process/env.zc b/examples/process/env.zc
index 0ea7437..d202ef2 100644
--- a/examples/process/env.zc
+++ b/examples/process/env.zc
@@ -4,7 +4,7 @@ import "std/env.zc"
fn main() -> int {
// ----
- // get: Retrieves the env-let as borrowed string (char *) (no alloc)
+ // get: Retrieves the env-variable as borrowed string (char *) (no alloc)
// ---
// @Example usage: On Linux (and some variants) PATH is already defined.
// ---
@@ -17,8 +17,8 @@ fn main() -> int {
}
// ----
- // set: Sets an env-let variable
- // get_dup: Retrieves the env-let as caller-owned String() (heap alloc)
+ // set: Sets an env-variable
+ // get_dup: Retrieves the env-variable as caller-owned String() (heap alloc)
// ---
// @Example usage: In your terminal type "export HELLO=world" or use Env::set()
// ---
@@ -37,7 +37,7 @@ fn main() -> int {
}
// ----
- // unset: Unsets an existing env-let
+ // unset: Unsets an existing env-variable
// ---
Env::unset("HELLO");