@@ -367,7 +367,7 @@ fn _remove_var(k: &OsStr) {
367
367
/// An iterator that splits an environment variable into paths according to
368
368
/// platform-specific conventions.
369
369
///
370
- /// This structure is created by the [`std::env::split_paths`] function See its
370
+ /// This structure is created by the [`std::env::split_paths`] function. See its
371
371
/// documentation for more.
372
372
///
373
373
/// [`std::env::split_paths`]: fn.split_paths.html
@@ -605,14 +605,15 @@ pub fn current_exe() -> io::Result<PathBuf> {
605
605
os_imp:: current_exe ( )
606
606
}
607
607
608
- /// An iterator over the arguments of a process, yielding a [`String`] value
609
- /// for each argument.
608
+ /// An iterator over the arguments of a process, yielding a [`String`] value for
609
+ /// each argument.
610
610
///
611
- /// This structure is created through the [`std::env::args`] function.
611
+ /// This struct is created by the [`std::env::args`] function. See its
612
+ /// documentation for more.
612
613
///
613
614
/// The first element is traditionally the path of the executable, but it can be
614
- /// set to arbitrary text, and may not even exist. This means this property should
615
- /// not be relied upon for security purposes.
615
+ /// set to arbitrary text, and may not even exist. This means this property
616
+ /// should not be relied upon for security purposes.
616
617
///
617
618
/// [`String`]: ../string/struct.String.html
618
619
/// [`std::env::args`]: ./fn.args.html
@@ -622,11 +623,12 @@ pub struct Args { inner: ArgsOs }
622
623
/// An iterator over the arguments of a process, yielding an [`OsString`] value
623
624
/// for each argument.
624
625
///
625
- /// This structure is created through the [`std::env::args_os`] function.
626
+ /// This struct is created by the [`std::env::args_os`] function. See its
627
+ /// documentation for more.
626
628
///
627
629
/// The first element is traditionally the path of the executable, but it can be
628
- /// set to arbitrary text, and may not even exist. This means this property should
629
- /// not be relied upon for security purposes.
630
+ /// set to arbitrary text, and may not even exist. This means this property
631
+ /// should not be relied upon for security purposes.
630
632
///
631
633
/// [`OsString`]: ../ffi/struct.OsString.html
632
634
/// [`std::env::args_os`]: ./fn.args_os.html
0 commit comments