]> git.lizzy.rs Git - rust.git/commitdiff
Fix a typo in the documentation of std::ffi
authorpolyfloyd <floyd@polyfloyd.net>
Tue, 27 Nov 2018 21:33:46 +0000 (22:33 +0100)
committerpolyfloyd <floyd@polyfloyd.net>
Tue, 27 Nov 2018 21:33:46 +0000 (22:33 +0100)
src/libstd/ffi/mod.rs

index a3345df5e0d8563e2e3351e3682e99e809fe44b1..f1f3742996bda21d70b42b0287bd7d7f7743ac1b 100644 (file)
 //! ## 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`].
 //!