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:30 +0100
committermuvlon <muvlon@hentzes.de>2018-01-11 17:20:30 +0100
commitbac725ecdf31fe8ac5e7ddcd45d2c316d9aff674 (patch)
tree8fe4924d717495dda4edd13177d89c4a405bfc21 /src/libstd
parentfc825f09e87c11413ae1e6a28957df055eb92b96 (diff)
downloadrust-bac725ecdf31fe8ac5e7ddcd45d2c316d9aff674.tar.gz
rust-bac725ecdf31fe8ac5e7ddcd45d2c316d9aff674.zip
Fix dead links in docs for OsStr
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/ffi/os_str.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs
index 0d07c01a105..91e3855f536 100644
--- a/src/libstd/ffi/os_str.rs
+++ b/src/libstd/ffi/os_str.rs
@@ -91,6 +91,8 @@ pub struct OsString {
 /// the traits which `OsStr` implements for conversions from/to native representations.
 ///
 /// [`OsString`]: struct.OsString.html
+/// [`&str`]: ../primitive.str.html
+/// [`String`]: ../string/struct.String.html
 /// [conversions]: index.html#conversions
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct OsStr {