Skip to content

Commit 410125f

Browse files
committed
fix
1 parent 9300012 commit 410125f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/rc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ impl<T: Default> Default for Rc<T> {
23172317
Box::leak(Box::write(Box::new_uninit(), RcInner {
23182318
strong: Cell::new(1),
23192319
weak: Cell::new(1),
2320-
data: T::default(),
2320+
value: T::default(),
23212321
}))
23222322
.into(),
23232323
)

0 commit comments

Comments
 (0)