diff options
| author | muvlon <muvlon@hentzes.de> | 2018-01-11 17:20:16 +0100 |
|---|---|---|
| committer | muvlon <muvlon@hentzes.de> | 2018-01-11 17:20:16 +0100 |
| commit | fc825f09e87c11413ae1e6a28957df055eb92b96 (patch) | |
| tree | 79aab191ce4ee678a7f4b111f664d097ef57d035 /src/libstd | |
| parent | 619ced057842a25f8700237a9c22a6f5c318a954 (diff) | |
| download | rust-fc825f09e87c11413ae1e6a28957df055eb92b96.tar.gz rust-fc825f09e87c11413ae1e6a28957df055eb92b96.zip | |
Fix confusing documentation for OsStr
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/ffi/os_str.rs | 2 |
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 |
