Skip to content

Commit f7096cc

Browse files
committed
Auto merge of #3083 - tshepang:patch-2, r=Turbo87
separate doc heading from body If you look at target/doc/cargo_registry/util/index.html, you will see this heading after *errors*: > This module implements several error types and traits. The suggested usage in returned results is as follows: The first line is taken as a heading, so should remain separate, so that it's readable as a summary.
2 parents 2d81921 + 588da69 commit f7096cc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/util/errors.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
//! This module implements several error types and traits. The suggested usage in returned results
2-
//! is as follows:
1+
//! This module implements several error types and traits.
2+
//!
3+
//! The suggested usage in returned results is as follows:
34
//!
45
//! * The concrete `util::concrete::Error` type (re-exported as `util::Error`) is great for code
56
//! that is not part of the request/response lifecycle. It avoids pulling in the unnecessary

0 commit comments

Comments
 (0)