We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3c73dd commit 0123fabCopy full SHA for 0123fab
src/libstd/env.rs
@@ -465,7 +465,7 @@ pub struct JoinPathsError {
465
/// # }
466
/// ```
467
///
468
-/// Using `env::join_paths` with `env::spit_paths` to append an item to the `PATH` environment
+/// Using `env::join_paths` with [`env::split_paths`] to append an item to the `PATH` environment
469
/// variable:
470
471
@@ -483,6 +483,8 @@ pub struct JoinPathsError {
483
/// Ok(())
484
/// }
485
486
+///
487
+/// [`env::split_paths`]: fn.split_paths.html
488
#[stable(feature = "env", since = "1.0.0")]
489
pub fn join_paths<I, T>(paths: I) -> Result<OsString, JoinPathsError>
490
where I: IntoIterator<Item=T>, T: AsRef<OsStr>
0 commit comments