Remove duplicated example in IntoBytes::write_to_suffix#3422
Conversation
Commit b964747 ("Improve `AsBytes` documentation (google#660)") added examples but one of those (`IntoBytes::write_to_suffix`) has duplicated lines, i.e. the `Err` case is explained below. Thus remove them. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3422 +/- ##
==========================================
- Coverage 91.85% 91.85% -0.01%
==========================================
Files 20 20
Lines 6093 6089 -4
==========================================
- Hits 5597 5593 -4
Misses 496 496 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Once #3423 merges, we can re-run CI tests here and they should pass. |
|
Oh also, @ojeda you'll need to sign the CLA – alternatively we can just re-upload this for you, which also works. |
Commit b964747 ("Improve
AsBytesdocumentation (#660)") added examples but one of those (IntoBytes::write_to_suffix) has duplicated lines, i.e. theErrcase is explained below.Thus remove them.