diff options
| author | Zuhaitz <zuhaitz.zechhub@gmail.com> | 2026-01-26 00:39:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-26 00:39:31 +0000 |
| commit | ca08979910e5a234a2423e4448ad0e284bf4f508 (patch) | |
| tree | e09702f7b0850feb00a6af7f315bff7448c2ed26 /examples/process | |
| parent | 6bef876bf900458a36260ca3fe96e23b06749d74 (diff) | |
| parent | 97d0583c92c733aa8497a99f5267d50151f6e965 (diff) | |
Merge pull request #132 from Burnett01/fix/var-const-remains-in-examples
Housekeeping: Fix var/const remains in examples and docs
Diffstat (limited to 'examples/process')
| -rw-r--r-- | examples/process/env.zc | 8 |
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"); |
