Skip to content

Commit 1c7ed5d

Browse files
committed
Make Rc<T>::deref zero-cost
1 parent 1ae7c49 commit 1c7ed5d

File tree

17 files changed

+3117
-1192
lines changed

17 files changed

+3117
-1192
lines changed

library/alloc/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@
204204
#[macro_use]
205205
mod macros;
206206

207+
#[cfg(not(no_rc))]
208+
mod raw_rc;
207209
mod raw_vec;
208210

209211
// Heaps provided for low-level allocation strategies

library/alloc/src/raw_rc/mod.rs

Lines changed: 540 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)