We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e2e3652 + 2cd4e9b commit 708d8cdCopy full SHA for 708d8cd
src/items/associated-items.md
@@ -111,7 +111,7 @@ of this trait while the trait is in scope can have their `draw` and
111
# fn draw(&self, Surface);
112
# fn bounding_box(&self) -> BoundingBox;
113
# }
114
-
+#
115
struct Circle {
116
// ...
117
}
@@ -124,8 +124,8 @@ impl Shape for Circle {
124
125
# impl Circle {
126
# fn new() -> Circle { Circle{} }
127
-}
128
+# }
129
let circle_shape = Circle::new();
130
let bounding_box = circle_shape.bounding_box();
131
```
@@ -277,4 +277,4 @@ fn main() {
277
[functions]: items/functions.html
278
[method call operator]: expressions/method-call-expr.html
279
[block]: expressions/block-expr.html
280
-[path]: paths.html
+[path]: paths.html
0 commit comments