Skip to content

Commit c54a783

Browse files
committed
Fix call order to be the same as definition order
1 parent 30348f4 commit c54a783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1883,8 +1883,8 @@ impl Shape {
18831883

18841884
let s = Circle(Point { x: 1.0, y: 2.0 }, 3.0);
18851885

1886-
(~s).draw_owned();
18871886
(&s).draw_reference();
1887+
(~s).draw_owned();
18881888
s.draw_value();
18891889
~~~
18901890

0 commit comments

Comments
 (0)