about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2020-07-01 15:10:51 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2020-09-20 13:28:18 +0200
commitb2532a87306fafd097241a80f92f68b10df0cba4 (patch)
treeb21ca24c3adb20104af88245bf2c155ea143072e /library/std/src
parent34c62e0abc82b7302a3b0ee16dfe445e1330ce4c (diff)
downloadrust-b2532a87306fafd097241a80f92f68b10df0cba4.tar.gz
rust-b2532a87306fafd097241a80f92f68b10df0cba4.zip
Implement destructuring for all aggregates and for references
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/ffi/os_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/ffi/os_str.rs b/library/std/src/ffi/os_str.rs
index c83e996634c..2663f682a1d 100644
--- a/library/std/src/ffi/os_str.rs
+++ b/library/std/src/ffi/os_str.rs
@@ -94,7 +94,7 @@ pub struct OsString {
 // `OsStr::from_inner` current implementation relies
 // on `OsStr` being layout-compatible with `Slice`.
 // When attribute privacy is implemented, `OsStr` should be annotated as `#[repr(transparent)]`.
-// Anyway, `OsStr` representation and layout are considered implementation detail, are
+// Anyway, `OsStr` representation and layout are considered implementation details, are
 // not documented and must not be relied upon.
 pub struct OsStr {
     inner: Slice,