about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-11-29 13:10:48 +0100
committerGitHub <noreply@github.com>2018-11-29 13:10:48 +0100
commitad6434ecad1bbe880c78a4b33f05cb3182b72505 (patch)
treef410928d5b2c028e5c7f35c2f3d5e2b55b2c4047
parente3635f229827e6f559c13a81abde053c00108cd5 (diff)
parente63bd91895e640a5736ef37eb1d0dedc11fe3138 (diff)
downloadrust-ad6434ecad1bbe880c78a4b33f05cb3182b72505.tar.gz
rust-ad6434ecad1bbe880c78a4b33f05cb3182b72505.zip
Rollup merge of #56294 - polyfloyd:fix-typo-ffi-doc, r=sfackler
Fix a typo in the documentation of std::ffi
-rw-r--r--src/libstd/ffi/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/ffi/mod.rs b/src/libstd/ffi/mod.rs
index a3345df5e0d..f1f3742996b 100644
--- a/src/libstd/ffi/mod.rs
+++ b/src/libstd/ffi/mod.rs
@@ -112,12 +112,12 @@
 //! ## On Unix
 //!
 //! On Unix, [`OsStr`] implements the
-//! `std::os::unix:ffi::`[`OsStrExt`][unix.OsStrExt] trait, which
+//! `std::os::unix::ffi::`[`OsStrExt`][unix.OsStrExt] trait, which
 //! augments it with two methods, [`from_bytes`] and [`as_bytes`].
 //! These do inexpensive conversions from and to UTF-8 byte slices.
 //!
 //! Additionally, on Unix [`OsString`] implements the
-//! `std::os::unix:ffi::`[`OsStringExt`][unix.OsStringExt] trait,
+//! `std::os::unix::ffi::`[`OsStringExt`][unix.OsStringExt] trait,
 //! which provides [`from_vec`] and [`into_vec`] methods that consume
 //! their arguments, and take or produce vectors of [`u8`].
 //!