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

Clean up naming in from_slice return value in example #96

Conversation

sirhcel
Copy link
Contributor

@sirhcel sirhcel commented Feb 5, 2025

The second element of the returned tuple is the number of bytes consumed as stated in the docs of this function. Let's remove this red herring for the ones no looking into the function docs.

The second element of the returned tuple is the number of bytes consumed
as stated in the docs of this function.
@ryan-summers
Copy link
Member

Mind running a cargo clippy --fix as well? Happy to merge as-is anyways though :)

@sirhcel
Copy link
Contributor Author

sirhcel commented Feb 5, 2025

No, I don't mind. That was easy. Thank you for my first cargo clippy --fix!

@ryan-summers ryan-summers merged commit 3b369a0 into rust-embedded-community:master Feb 5, 2025
7 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