Skip to content

Use derive_deref #1235

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
Jan 16, 2018
Merged

Use derive_deref #1235

merged 1 commit into from
Jan 16, 2018

Conversation

sgrif
Copy link
Contributor

@sgrif sgrif commented Jan 15, 2018

The generated impls from that crate are very slightly different than the
impls we had before. Things will deref to &String and &Vec<T> rather
than &str and &[T]. However, this rarely matters, and in the few
places it did, it was just a matter of one extra * or &

The generated impls from that crate are very slightly different than the
impls we had before. Things will deref to `&String` and `&Vec<T>` rather
than `&str` and `&[T]`. However, this rarely matters, and in the few
places it did, it was just a matter of one extra `*` or `&`
Copy link
Contributor

@locks locks left a comment

Choose a reason for hiding this comment

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

Nice cleanup

@sgrif sgrif merged commit a62c075 into rust-lang:master Jan 16, 2018
@sgrif sgrif deleted the sg-derive-deref branch January 16, 2018 16:25
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