Skip to content

Put rustdocs above attributes#753

Merged
RCasatta merged 1 commit intorust-bitcoin:masterfrom
tcharding:comments-attributes
Jan 6, 2022
Merged

Put rustdocs above attributes#753
RCasatta merged 1 commit intorust-bitcoin:masterfrom
tcharding:comments-attributes

Conversation

@tcharding
Copy link
Copy Markdown
Member

@tcharding tcharding commented Jan 6, 2022

(Trivial / Very low priority PR)

Rust idiomatic style is to put the rustdoc above any attributes on types, functions, etc.

Audit the codebase and move comments/attributes to the correct place. Add a trailing full stop at times to neaten things up a little extra.

Done after discussion here

Rust idiomatic style is to put the rustdoc _above_ any attributes on
types, functions, etc.

Audit the codebase and move comments/attributes to the correct place.
Add a trailing full stop at times to neaten things up a little extra.
Copy link
Copy Markdown
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK 5331208

@Kixunil Kixunil added code quality Makes code easier to understand and less likely to lead to problems documentation one ack PRs that have one ACK, so one more can progress them P-low Low priority trivial Obvious, easy and quick to review (few lines or doc-only...) labels Jan 6, 2022
Copy link
Copy Markdown
Collaborator

@RCasatta RCasatta left a comment

Choose a reason for hiding this comment

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

ACK 5331208

@RCasatta RCasatta merged commit 9e7bb09 into rust-bitcoin:master Jan 6, 2022
@tcharding tcharding deleted the comments-attributes branch August 17, 2023 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code quality Makes code easier to understand and less likely to lead to problems one ack PRs that have one ACK, so one more can progress them P-low Low priority trivial Obvious, easy and quick to review (few lines or doc-only...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants