Skip to content

Commit a72c6d5

Browse files
committed
Make Rc<T>::deref and Arc<T>::deref zero-cost
1 parent 85f518e commit a72c6d5

18 files changed

+3624
-2504
lines changed

Diff for: library/alloc/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@
201201
#[macro_use]
202202
mod macros;
203203

204+
#[cfg(not(no_rc))]
205+
mod raw_rc;
204206
mod raw_vec;
205207

206208
// Heaps provided for low-level allocation strategies

Diff for: library/alloc/src/raw_rc/mod.rs

+539
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)