File tree 1 file changed +3
-4
lines changed
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 {
294
294
}
295
295
}
296
296
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
298
298
/// process.
299
299
///
300
300
/// Note that while concurrent access to environment variables is safe in Rust,
@@ -310,9 +310,8 @@ impl Error for VarError {
310
310
///
311
311
/// # Panics
312
312
///
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.
316
315
///
317
316
/// # Examples
318
317
///
You can’t perform that action at this time.
0 commit comments