diff options
| author | bors <bors@rust-lang.org> | 2020-09-26 06:44:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-26 06:44:28 +0000 |
| commit | fd15e6180d9c48b4f1157e44cdaff6e901e5f854 (patch) | |
| tree | 11801a40b3c4b0ccc7c10b589347b28348705871 /library/std/src | |
| parent | 9e1c4361780e69ed54444a3b03fef0cbbc26b547 (diff) | |
| parent | daf976f6129e5fb16effc48bf91853548774e235 (diff) | |
| download | rust-fd15e6180d9c48b4f1157e44cdaff6e901e5f854.tar.gz rust-fd15e6180d9c48b4f1157e44cdaff6e901e5f854.zip | |
Auto merge of #70743 - oli-obk:eager_const_to_pat_conversion, r=eddyb
Fully destructure constants into patterns r? `@varkor` as discussed in https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/constants.20in.20patterns/near/192789924 we should probably crater it once reviewed
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/ffi/os_str.rs | 2 |
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, |
