Skip to content

Commit d4c3550

Browse files
committed
Make Rc<T>::deref and Arc<T>::deref zero-cost
1 parent fd19773 commit d4c3550

File tree

13 files changed

+2753
-2402
lines changed

13 files changed

+2753
-2402
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)