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

Fix clippy lints #150

Merged
merged 1 commit into from
May 13, 2024
Merged

Fix clippy lints #150

merged 1 commit into from
May 13, 2024

Conversation

ia0
Copy link
Contributor

@ia0 ia0 commented May 13, 2024

I tried to choose the most obvious fix for each warning, but sometimes it might be arguable. I'll try to point out those cases. Feel free to suggest alternatives if needed.

Copy link

netlify bot commented May 13, 2024

Deploy Preview for cute-starship-2d9c9b canceled.

Name Link
🔨 Latest commit bad05f8
🔍 Latest deploy log https://app.netlify.com/sites/cute-starship-2d9c9b/deploys/66422baa0d94c60008552723

#[cfg(feature = "experimental-derive")]
pub mod schema;
pub(crate) mod schema;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is partially reverting #134 because I don't think the intent was to expose schema publicly until it goes out of experimental. The warning here was about documentation, which should be duplicated if we want to control the visibility from the cfg.

Copy link
Owner

Choose a reason for hiding this comment

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

I will likely intend to take this out of experimental with #128 coming up soon, so it works for me.

@ia0 ia0 mentioned this pull request May 13, 2024
@jamesmunns jamesmunns merged commit b7f67b0 into jamesmunns:main May 13, 2024
5 checks passed
@ia0 ia0 deleted the clippy branch May 13, 2024 16:08
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