Skip to content

Commit 83cb560

Browse files
committed
Reformat doc comments for less width
1 parent e641c6f commit 83cb560

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/items/implementations.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,17 @@ mod values {
8282

8383
pub use self::color::Color;
8484
fn main() {
85-
color::Color::WHITE; // actual path to the implementing type and impl in the same module
86-
color::Color::red(); // impl blocks in different modules are still accessed through a path to the type
87-
Color::red(); // rexported paths to the implementing type also work
88-
// values::Color::red(); // Does not work, because use in `values` is not pub
85+
// Actual path to the implementing type and impl in the same module.
86+
color::Color::WHITE;
87+
88+
// Impl blocks in different modules are still accessed through a path to the type.
89+
color::Color::red();
90+
91+
// Re-exported paths to the implementing type also work.
92+
Color::red();
93+
94+
// Does not work, because use in `values` is not pub.
95+
// values::Color::red();
8996
}
9097
```
9198

0 commit comments

Comments
 (0)