8000 Add more docs for libcnb-test by edmorley · Pull Request #441 · heroku/libcnb.rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add more docs for libcnb-test #441

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

Merged
merged 1 commit into from
Jun 30, 2022
Merged

Add more docs for libcnb-test #441

merged 1 commit into from
Jun 30, 2022

Conversation

edmorley
Copy link
Member
@edmorley edmorley commented Jun 30, 2022

All public structs and methods are now documented and missing examples have been added. Some existing examples with mis-formatted code have also been fixed.

Some last remaining .unwrap() usages have been switched to .expect(), since it (a) gives better error messages, (b) means the clippy::missing_panics_doc lint no longer insists on the # Panics rustdocs section (which is redundant for libcnb-test, since we state upfront that failures mean panics, given that's how tests indicate failures).

Closes #406.
GUS-W-11375182.

All public structs and methods are now documented and missing examples
have been added.

Some last remaining `.unwrap()` usages have been switched to `.expect()`,
since it (a) gives better error messages, (b) means the `clippy::missing_panics_doc`
lint no longer insists on the `# Panics` rustdocs section (which is redundant
for `libcnb-test`, since we state upfront that failures mean panics, given that's
how tests indicate failures).

Closes #406.
@edmorley edmorley added documentation Improvements or additions to documentation skip changelog libcnb-test labels Jun 30, 2022
@edmorley edmorley self-assigned this Jun 30, 2022
@edmorley edmorley marked this pull request as ready for review June 30, 2022 13:46
@edmorley edmorley requested a review from a team as a code owner June 30, 2022 13:46
Copy link
Member
@Malax Malax left a comment

Choose a reason for hiding this comment

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

🤯 This is awesome, thank you! I certainly don't agree with your definition of PTO and/or "fun things to do on the side", but very much appreciated! 😬

@edmorley edmorley merged commit 4f802fd into main Jun 30, 2022
@edmorley edmorley deleted the edmorley/libcnb-test-docs branch June 30, 2022 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation libcnb-test skip changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add examples for start_with_process and related
2 participants
0