From bac725ecdf31fe8ac5e7ddcd45d2c316d9aff674 Mon Sep 17 00:00:00 2001 From: muvlon Date: Thu, 11 Jan 2018 17:20:30 +0100 Subject: [PATCH] Fix dead links in docs for OsStr --- src/libstd/ffi/os_str.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs index 0d07c01a105e..91e3855f536f 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 {