Skip to content

Commit 708d8cd

Browse files
authored
Merge pull request #242 from matthewjasper/assoc-item-formatting
Hide more lines in code example
2 parents e2e3652 + 2cd4e9b commit 708d8cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/items/associated-items.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ of this trait while the trait is in scope can have their `draw` and
111111
# fn draw(&self, Surface);
112112
# fn bounding_box(&self) -> BoundingBox;
113113
# }
114-
114+
#
115115
struct Circle {
116116
// ...
117117
}
@@ -124,8 +124,8 @@ impl Shape for Circle {
124124

125125
# impl Circle {
126126
# fn new() -> Circle { Circle{} }
127-
}
128-
127+
# }
128+
#
129129
let circle_shape = Circle::new();
130130
let bounding_box = circle_shape.bounding_box();
131131
```
@@ -277,4 +277,4 @@ fn main() {
277277
[functions]: items/functions.html
278278
[method call operator]: expressions/method-call-expr.html
279279
[block]: expressions/block-expr.html
280-
[path]: paths.html
280+
[path]: paths.html

0 commit comments

Comments
 (0)