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

Update to use 2018 idoms and fmt/clippy #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update to use 2018 idoms and fmt/clippy #34

wants to merge 1 commit into from

Conversation

DevinR528
Copy link

Great crate this has been really fun to use! This PR fixes all clippy lints caused by updating to the 2018 rust edition.

@@ -19,17 +20,32 @@ pub struct Rect {
}

impl Display {
///
/// # Safety
pub unsafe fn new(
Copy link
Author

Choose a reason for hiding this comment

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

Not sure exactly what an appropriate "safety" doc comment would be here but clippy complains without it so I stubed it in.

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.

None yet

1 participant