]> git.lizzy.rs Git - rust.git/commitdiff
Fix punctuation.
authorTomasz Różański <rosto@tlen.pl>
Thu, 22 Aug 2019 11:14:42 +0000 (13:14 +0200)
committerTomasz Różański <rosto@tlen.pl>
Thu, 22 Aug 2019 11:14:42 +0000 (13:14 +0200)
src/libstd/ffi/os_str.rs

index fbdb577a7f060e0a48c8e793e9364f0da0772aac..d0e35cce6411b13855c10a92cce87fd222ca682a 100644 (file)
@@ -616,7 +616,7 @@ pub fn is_empty(&self) -> bool {
     /// Note that this does **not** return the number of bytes in the string in
     /// OS string form.
     ///
-    /// The length returned is that of the underlying storage used by `OsStr`;
+    /// The length returned is that of the underlying storage used by `OsStr`.
     /// As discussed in the [`OsString`] introduction, [`OsString`] and `OsStr`
     /// store strings in a form best suited for cheap inter-conversion between
     /// native-platform and Rust string forms, which may differ significantly