Skip to content

Commit 88a2d49

Browse files
committed
Make Rc<T>::deref and Arc<T>::deref zero-cost
1 parent 43ca9d1 commit 88a2d49

File tree

13 files changed

+3290
-2425
lines changed

13 files changed

+3290
-2425
lines changed

library/alloc/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ mod testing;
213213
#[macro_use]
214214
mod macros;
215215

216+
#[cfg(not(no_rc))]
217+
mod raw_rc;
216218
mod raw_vec;
217219

218220
// Heaps provided for low-level allocation strategies

0 commit comments

Comments
 (0)