diff options
| author | Taiki Endo <te316e89@gmail.com> | 2019-05-04 23:48:57 +0900 |
|---|---|---|
| committer | Taiki Endo <te316e89@gmail.com> | 2019-05-04 23:48:57 +0900 |
| commit | ccb9dac5ed65341bf8d9ce01a83b9aad02f42526 (patch) | |
| tree | 8148c29c67cf4418b404cfc43f913179e399939c /src/libstd/ffi | |
| parent | ef9a876f8297e26859469b004047e0946ed10565 (diff) | |
Fix intra-doc link resolution failure on re-exporting libstd
Diffstat (limited to 'src/libstd/ffi')
| -rw-r--r-- | src/libstd/ffi/os_str.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs index 13aee783750..c7c5849a00f 100644 --- a/src/libstd/ffi/os_str.rs +++ b/src/libstd/ffi/os_str.rs @@ -351,6 +351,8 @@ impl From<String> for OsString { /// Converts a [`String`] into a [`OsString`]. /// /// The conversion copies the data, and includes an allocation on the heap. + /// + /// [`OsString`]: ../../std/ffi/struct.OsString.html fn from(s: String) -> OsString { OsString { inner: Buf::from_string(s) } } |
