Skip to content

remove unneeded RefCells#62

Merged
DoumanAsh merged 1 commit intoactix:masterfrom
pjenvey:unneeded-refcells
Nov 17, 2018
Merged

remove unneeded RefCells#62
DoumanAsh merged 1 commit intoactix:masterfrom
pjenvey:unneeded-refcells

Conversation

@pjenvey
Copy link
Contributor

@pjenvey pjenvey commented Nov 15, 2018

interior mutability isn't needed within these actors as the handle
method takes &mut self

also fix compat. w/ rand 0.6

interior mutability isn't needed within these actors as the handle
method takes &mut self

also fix compat. w/ rand 0.6
Copy link
Contributor

@DoumanAsh DoumanAsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, true, not sure why RefCell was even used here.
ThreadRng anyway just reference to global thread local range.

@DoumanAsh DoumanAsh merged commit 8a81a3b into actix:master Nov 17, 2018
@DoumanAsh
Copy link
Contributor

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants