Skip to content
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

Add Compat::get_ref method #1648

Merged
merged 1 commit into from
Jun 3, 2019
Merged

Conversation

jrobsonchase
Copy link
Contributor

It's currently possible to unwrap the Compat wrapper via the into_inner method, but not to simply get a reference to the wrapped object as it is with the Compat01As03 wrappers.

This adds a get_ref method to bring it in-line with the others.

@Nemo157 Nemo157 merged commit 35d406b into rust-lang:master Jun 3, 2019
@Nemo157
Copy link
Member

Nemo157 commented Jun 3, 2019

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