File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,11 @@ impl Error for VarError {
260
260
/// - [Austin Group Bugzilla](http://austingroupbugs.net/view.php?id=188)
261
261
/// - [GNU C library Bugzilla](https://sourceware.org/bugzilla/show_bug.cgi?id=15607#c2)
262
262
///
263
+ /// # Panics
264
+ ///
265
+ /// This function panics if the `key` string is empty or contains an ASCII
266
+ /// equals sign.
267
+ ///
263
268
/// # Examples
264
269
///
265
270
/// ```
@@ -292,6 +297,11 @@ fn _set_var(k: &OsStr, v: &OsStr) {
292
297
/// - [Austin Group Bugzilla](http://austingroupbugs.net/view.php?id=188)
293
298
/// - [GNU C library Bugzilla](https://sourceware.org/bugzilla/show_bug.cgi?id=15607#c2)
294
299
///
300
+ /// # Panics
301
+ ///
302
+ /// This function panics if the `key` string is empty or contains an ASCII
303
+ /// equals sign.
304
+ ///
295
305
/// # Examples
296
306
///
297
307
/// ```
You can’t perform that action at this time.
0 commit comments