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

chore: address lints in SimpleString Rust #343

Merged
merged 1 commit into from
May 2, 2024

Conversation

andrewbanchich
Copy link
Collaborator

Description of changes:

  • add #![allow(deprecated)] to silence warning for matching on deprecated GetStringUTF8Error::Unhandled enum variant
  • remove unused use core::panic; import
  • format with rustfmt

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@andrewbanchich andrewbanchich requested a review from a team as a code owner April 19, 2024 20:09
Copy link
Contributor

@robin-aws robin-aws left a comment

Choose a reason for hiding this comment

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

Great first start! Just one change to make.

Copy link
Contributor

Choose a reason for hiding this comment

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

AFAICT the best practice is usually to commit Cargo.lock for binaries, but not for libraries, since the actual dependency resolution happens in consuming projects instead. So I think we should not commit this file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated!

@andrewbanchich andrewbanchich force-pushed the andrewbanchich/simplestring-lints branch from c224fcb to 2303061 Compare May 2, 2024 13:23
Copy link
Contributor

@robin-aws robin-aws left a comment

Choose a reason for hiding this comment

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

🚀

@robin-aws robin-aws merged commit 428df01 into main-1.x May 2, 2024
130 checks passed
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