Skip to content

Conversation

sirhcel
Copy link
Contributor

@sirhcel sirhcel commented Mar 28, 2024

They surfaced in the CI builds for #168 and look like new catches from the latest Clippy as it is already present in main (https://github.com/serialport/serialport-rs/actions/runs/8470256382). The intentions in the examples an the test code look clears up the ambiguous parts in the code.

In case of writing data, the code looks like it expects all data to be
written. And in case of reading data it expects some data to be read.
Let's make this explicit.
Copy link
Contributor

@eldruin eldruin left a comment

Choose a reason for hiding this comment

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

Thank you!

@eldruin eldruin merged commit 361664b into serialport:main Mar 28, 2024
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