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

Compatibility with Rust 2021 #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

gicrisf
Copy link

@gicrisf gicrisf commented Feb 26, 2022

First of all, thanks for this library: I didn't really need it for anything, but I tried it for fun and it works like a charm.
The compiler, though, complains with warnings about how the trait are declared.
As said in the official docs

The use of the dyn keyword to identify trait objects will be mandatory in Rust 2021.

So I updated all the files involved. Moreover, I updated the examples with actually working suggestions.
As you can see, those are humble editings and don't mess with the actual code in any way.

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.

1 participant