Skip to content

Commit 650fa57

Browse files
committed
Make Rc<T>::deref and Arc<T>::deref zero-cost
1 parent 243d2ca commit 650fa57

File tree

13 files changed

+2611
-2402
lines changed

13 files changed

+2611
-2402
lines changed

library/alloc/src/lib.rs

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

212+
#[cfg(not(no_rc))]
213+
mod raw_rc;
212214
mod raw_vec;
213215

214216
// Heaps provided for low-level allocation strategies

0 commit comments

Comments
 (0)