mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Warn about non-portability of glob patterns
This commit is contained in:
@@ -671,6 +671,10 @@ pub struct ArgsOs { inner: sys::args::Args }
|
||||
/// set to arbitrary text, and may not even exist. This means this property should
|
||||
/// not be relied upon for security purposes.
|
||||
///
|
||||
/// On Unix systems shell usually expands unquoted arguments with glob patterns
|
||||
/// (such as `*` and `?`). On Windows this is not done, and such arguments are
|
||||
/// passed as-is.
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// The returned iterator will panic during iteration if any argument to the
|
||||
|
||||
Reference in New Issue
Block a user