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 {
260260/// - [Austin Group Bugzilla](http://austingroupbugs.net/view.php?id=188)
261261/// - [GNU C library Bugzilla](https://sourceware.org/bugzilla/show_bug.cgi?id=15607#c2)
262262///
263+ /// # Panics
264+ ///
265+ /// This function panics if the `key` string is empty or contains an ASCII
266+ /// equals sign.
267+ ///
263268/// # Examples
264269///
265270/// ```
@@ -292,6 +297,11 @@ fn _set_var(k: &OsStr, v: &OsStr) {
292297/// - [Austin Group Bugzilla](http://austingroupbugs.net/view.php?id=188)
293298/// - [GNU C library Bugzilla](https://sourceware.org/bugzilla/show_bug.cgi?id=15607#c2)
294299///
300+ /// # Panics
301+ ///
302+ /// This function panics if the `key` string is empty or contains an ASCII
303+ /// equals sign.
304+ ///
295305/// # Examples
296306///
297307/// ```
You can’t perform that action at this time.
0 commit comments