Skip to content

Commit 5cf72c8

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

File tree

13 files changed

+2765
-2385
lines changed

13 files changed

+2765
-2385
lines changed

library/alloc/src/lib.rs

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

213+
#[cfg(not(no_rc))]
214+
mod raw_rc;
213215
mod raw_vec;
214216

215217
// Heaps provided for low-level allocation strategies

0 commit comments

Comments
 (0)