We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 183e61b commit 87b8ab3Copy full SHA for 87b8ab3
src/liballoc/sync.rs
@@ -751,7 +751,7 @@ impl<T: ?Sized> Arc<T> {
751
// reference (see #54908).
752
let layout = Layout::new::<ArcInner<()>>()
753
.extend(value_layout).unwrap().0
754
- .pad_to_align().unwrap();
+ .pad_to_align();
755
756
let mem = Global.alloc(layout)
757
.unwrap_or_else(|_| handle_alloc_error(layout));
0 commit comments