diff options
| author | polyfloyd <floyd@polyfloyd.net> | 2018-11-27 22:33:46 +0100 |
|---|---|---|
| committer | polyfloyd <floyd@polyfloyd.net> | 2018-11-27 22:33:46 +0100 |
| commit | e63bd91895e640a5736ef37eb1d0dedc11fe3138 (patch) | |
| tree | b18193478d4f7690f4ffb4b2497c2008a51e9670 /src/libstd/ffi | |
| parent | aeff91d97702c11cdb5992fd18bb2cf2fb99efda (diff) | |
| download | rust-e63bd91895e640a5736ef37eb1d0dedc11fe3138.tar.gz rust-e63bd91895e640a5736ef37eb1d0dedc11fe3138.zip | |
Fix a typo in the documentation of std::ffi
Diffstat (limited to 'src/libstd/ffi')
| -rw-r--r-- | src/libstd/ffi/mod.rs | 4 |
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`]. //! |
