Skip to content

Commit e63bd91

Browse files
committed
Fix a typo in the documentation of std::ffi
1 parent aeff91d commit e63bd91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/ffi/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@
112112
//! ## On Unix
113113
//!
114114
//! On Unix, [`OsStr`] implements the
115-
//! `std::os::unix:ffi::`[`OsStrExt`][unix.OsStrExt] trait, which
115+
//! `std::os::unix::ffi::`[`OsStrExt`][unix.OsStrExt] trait, which
116116
//! augments it with two methods, [`from_bytes`] and [`as_bytes`].
117117
//! These do inexpensive conversions from and to UTF-8 byte slices.
118118
//!
119119
//! Additionally, on Unix [`OsString`] implements the
120-
//! `std::os::unix:ffi::`[`OsStringExt`][unix.OsStringExt] trait,
120+
//! `std::os::unix::ffi::`[`OsStringExt`][unix.OsStringExt] trait,
121121
//! which provides [`from_vec`] and [`into_vec`] methods that consume
122122
//! their arguments, and take or produce vectors of [`u8`].
123123
//!

0 commit comments

Comments
 (0)