Skip to content

Use idiomatic syntax of Rc::clone() #1699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2019
Merged

Use idiomatic syntax of Rc::clone() #1699

merged 1 commit into from
Aug 5, 2019

Conversation

UnHumbleBen
Copy link
Contributor

This syntax makes it easier to see that this code is creating a new reference rather than copying the whole content of sched.

@alexcrichton alexcrichton merged commit c7180dd into rustwasm:master Aug 5, 2019
@alexcrichton
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