Skip to content

Commit 5f9be42

Browse files
committed
Make Rc<T>::deref and Arc<T>::deref zero-cost
1 parent c705b7d commit 5f9be42

File tree

13 files changed

+3291
-2423
lines changed

13 files changed

+3291
-2423
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)