Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a72c6d5

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

File tree

Expand file treeCollapse file tree

18 files changed

+3624
-2504
lines changed
Filter options
Expand file treeCollapse file tree

18 files changed

+3624
-2504
lines changed

‎library/alloc/src/lib.rs

Copy file name to clipboardExpand all lines: library/alloc/src/lib.rs
+2Lines changed: 2 additions & 0 deletions
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

‎library/alloc/src/raw_rc/mod.rs

Copy file name to clipboardExpand all lines: library/alloc/src/raw_rc/mod.rs
+539Lines changed: 539 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.