Skip to content

Commit 36c4b0f

Browse files
committed
Make Rc<T>::deref and Arc<T>::deref zero-cost
1 parent 500a686 commit 36c4b0f

File tree

13 files changed

+3487
-2426
lines changed

13 files changed

+3487
-2426
lines changed

library/alloc/src/lib.rs

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

215+
#[cfg(not(no_rc))]
216+
mod raw_rc;
215217
mod raw_vec;
216218

217219
// Heaps provided for low-level allocation strategies

0 commit comments

Comments
 (0)