summaryrefslogtreecommitdiff
path: root/examples/process
diff options
context:
space:
mode:
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");