Skip to content

Commit 20ddfb7

Browse files
committed
Implement destructuring for all aggregates and for references
1 parent 0855616 commit 20ddfb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/ffi/os_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pub struct OsString {
9494
// `OsStr::from_inner` current implementation relies
9595
// on `OsStr` being layout-compatible with `Slice`.
9696
// When attribute privacy is implemented, `OsStr` should be annotated as `#[repr(transparent)]`.
97-
// Anyway, `OsStr` representation and layout are considered implementation detail, are
97+
// Anyway, `OsStr` representation and layout are considered implementation details, are
9898
// not documented and must not be relied upon.
9999
pub struct OsStr {
100100
inner: Slice,

0 commit comments

Comments
 (0)