Skip to content

Conversation

@rtczza
Copy link

@rtczza rtczza commented Apr 18, 2024

fix cargo clippy warning and error

}
#[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

Choose a reason for hiding this comment

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

I think it complains about foo only in nightly. I agree it could be ignored for now.

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.

3 participants