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 cargo clippy warning and error #351

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

Conversation

rtczza
Copy link

@rtczza rtczza commented Apr 18, 2024

fix cargo clippy warning and error

@@ -28,12 +28,12 @@ enum Foo {
}
#[test]
fn generics_test() {
let foo = LifeTimeTest::One(Cow::Borrowed("Hello"));
Copy link
Owner

Choose a reason for hiding this comment

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

Was clippy complaining about this? It doesn't on my machine, and I prefer we avoid changing variables names based on personal preference

Copy link
Owner

@Peternator7 Peternator7 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing the clippy errors. I'd prefer we don't change the test case names unless they're getting flagged for something that I'm not seeing

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

2 participants