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

lib: amend documents to add periods (.), add inline hints when necessary #488

Merged
merged 5 commits into from
Aug 23, 2023

Conversation

luojia65
Copy link
Contributor

In documentation style of the Rust standard library, first sentence of all modules, types, and functions documentation has a period. We follow Rust standard library style to make it easier for users to read.

Most of functions in embedded-hal{,-async,-bus,-nb} (especially type conversations, function fowarding calls) are now marked #[inline] to allow further optimizations.

Those changes affects embedded-hal, embedded-hal-async, embedded-hal-bus and embedded-hal-nb.

Note: there are multiple commits for each commit changes an amount of files of certain module. If that's not the case, please reply and I'll squash the commits.

In documentation style of the Rust standard library, first sentence of all
modules, types, and functions documentation has a period. We follow Rust
standard library style to make it easier for users to read.

All functions in embedded-hal (especially type conversations, function
fowarding calls) are now marked #[inline] to allow further optimizations.

Signed-off-by: Zhouqi Jiang <[email protected]>
@luojia65 luojia65 requested a review from a team as a code owner August 23, 2023 02:30
Copy link
Member

@Dirbaio Dirbaio 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!

@Dirbaio Dirbaio added this pull request to the merge queue Aug 23, 2023
Merged via the queue into rust-embedded:master with commit 35e6012 Aug 23, 2023
12 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