Skip to content

Commit a0df644

Browse files
committed
Make Rc<T>::deref and Arc<T>::deref zero-cost
1 parent 7349f6b commit a0df644

File tree

15 files changed

+2613
-2404
lines changed

15 files changed

+2613
-2404
lines changed

library/alloc/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ mod testing;
208208
#[macro_use]
209209
mod macros;
210210

211+
#[cfg(not(no_rc))]
212+
mod raw_rc;
211213
mod raw_vec;
212214

213215
// Heaps provided for low-level allocation strategies

0 commit comments

Comments
 (0)