-
Notifications
You must be signed in to change notification settings - Fork 66
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
Remove ::
prefix from derived implementation.
#103
Conversation
This allows an in-scope re-exported `shred` crate to be used. Issue amethyst#102
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do this conditionally based on the edition being used? I don't want to break compatibility yet.
Hm, the changes were more of a "get the user to explicitly |
Hmm, that would make it a breaking change...
…On Tue, Dec 11, 2018, 08:23 Azriel Hoh ***@***.*** wrote:
Hm, the changes were more of a "get the user to explicitly use shred"
instead of a Rust 2018 change. Would you still like it to be behind a
feature gate? (can't find a way to detect based on edition)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#103 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AWFFufu1XhnKUbfjY4m-AE5ACwWlB5JMks5u311kgaJpZM4ZFpBM>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another question is whether shred or the individual symbols should be used. For other macros the latter is the case by now.
yeap, would mean
Going by the other crates, I'd go with the individual symbols for consistency. Reminder for myself: even if |
This means users have to explicitly import the required types and traits. Issue amethyst#102
Pushed a change for the latter method, people would need to make sure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
bors r+
Build succeeded |
This allows an in-scope re-exported
shred
crate to be used.Closes #102
I'll test this in a larger project, give me a few days to get to it.