Skip to content

Commit 5c3aec1

Browse files
committed
Auto merge of rust-lang#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
2 parents ab94e32 + 20ddfb7 commit 5c3aec1

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)