Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Customize RefCell instead of wrapping it
This gets rid of a dubious transmute: let val = mem::transmute::<&RefCell<T>, &T>(&self.base); The code duplication will be reduced once rust-lang/rust#18131 is fixed.
- Loading branch information
1 parent
06f322a
commit 96e180a
Showing
1 changed file
with
108 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters