Fix call order to be the same as definition order
This commit is contained in:
parent
30348f4675
commit
c54a78314f
@ -1883,8 +1883,8 @@ impl Shape {
|
||||
|
||||
let s = Circle(Point { x: 1.0, y: 2.0 }, 3.0);
|
||||
|
||||
(~s).draw_owned();
|
||||
(&s).draw_reference();
|
||||
(~s).draw_owned();
|
||||
s.draw_value();
|
||||
~~~
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user