about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authormuvlon <muvlon@hentzes.de>2018-01-11 17:20:16 +0100
committermuvlon <muvlon@hentzes.de>2018-01-11 17:20:16 +0100
commitfc825f09e87c11413ae1e6a28957df055eb92b96 (patch)
tree79aab191ce4ee678a7f4b111f664d097ef57d035 /src/libstd
parent619ced057842a25f8700237a9c22a6f5c318a954 (diff)
downloadrust-fc825f09e87c11413ae1e6a28957df055eb92b96.tar.gz
rust-fc825f09e87c11413ae1e6a28957df055eb92b96.zip
Fix confusing documentation for OsStr
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/ffi/os_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs
index 109173d31c5..0d07c01a105 100644
--- a/src/libstd/ffi/os_str.rs
+++ b/src/libstd/ffi/os_str.rs
@@ -84,7 +84,7 @@ pub struct OsString {
 /// This type represents a borrowed reference to a string in the operating system's preferred
 /// representation.
 ///
-/// `OsStr` is to [`OsString`] as [`String`] is to [`&str`]: the former in each pair are borrowed
+/// `OsStr` is to [`OsString`] as [`&str`] is to [`String`]: the former in each pair are borrowed
 /// references; the latter are owned strings.
 ///
 /// See the [module's toplevel documentation about conversions][conversions] for a discussion on