Skip to content

Commit fc825f0

Browse files
committed
Fix confusing documentation for OsStr
1 parent 619ced0 commit fc825f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/ffi/os_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub struct OsString {
8484
/// This type represents a borrowed reference to a string in the operating system's preferred
8585
/// representation.
8686
///
87-
/// `OsStr` is to [`OsString`] as [`String`] is to [`&str`]: the former in each pair are borrowed
87+
/// `OsStr` is to [`OsString`] as [`&str`] is to [`String`]: the former in each pair are borrowed
8888
/// references; the latter are owned strings.
8989
///
9090
/// See the [module's toplevel documentation about conversions][conversions] for a discussion on

0 commit comments

Comments
 (0)