aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src/env.rs')
-rw-r--r--crates/shirabe-php-shim/src/env.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe-php-shim/src/env.rs b/crates/shirabe-php-shim/src/env.rs
index 9043167b..d84a8ad9 100644
--- a/crates/shirabe-php-shim/src/env.rs
+++ b/crates/shirabe-php-shim/src/env.rs
@@ -14,7 +14,7 @@ pub fn getenv<K: AsRef<std::ffi::OsStr>>(key: K) -> Option<std::ffi::OsString> {
/// thread is concurrently reading or writing the process environment for the
/// duration of this call.
pub unsafe fn putenv<K: AsRef<std::ffi::OsStr>, V: AsRef<std::ffi::OsStr>>(key: K, value: V) {
- // TODO: validate key and value format to avoid panic?
+ // TODO(phase-c): validate key and value format to avoid panic?
unsafe { std::env::set_var(key, value) }
}
@@ -24,7 +24,7 @@ pub unsafe fn putenv<K: AsRef<std::ffi::OsStr>, V: AsRef<std::ffi::OsStr>>(key:
/// thread is concurrently reading or writing the process environment for the
/// duration of this call.
pub unsafe fn putenv_clear<K: AsRef<std::ffi::OsStr>>(key: K) {
- // TODO: validate key and value format to avoid panic?
+ // TODO(phase-c): validate key and value format to avoid panic?
unsafe { std::env::remove_var(key) }
}