File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ impl Error for VarError {
294294 }
295295}
296296
297- /// Sets the environment variable `k ` to the value `v ` for the currently running
297+ /// Sets the environment variable `key ` to the value `value ` for the currently running
298298/// process.
299299///
300300/// Note that while concurrent access to environment variables is safe in Rust,
@@ -310,9 +310,8 @@ impl Error for VarError {
310310///
311311/// # Panics
312312///
313- /// This function may panic if `key` is empty, contains an ASCII equals sign
314- /// `'='` or the NUL character `'\0'`, or when the value contains the NUL
315- /// character.
313+ /// This function may panic if `key` is empty, contains an ASCII equals sign `'='`
314+ /// or the NUL character `'\0'`, or when `value` contains the NUL character.
316315///
317316/// # Examples
318317///
You can’t perform that action at this time.
0 commit comments