summary refs log tree commit diff
path: root/src/doc/tutorial.md
diff options
context:
space:
mode:
authorGary M. Josack <gary@byoteki.com>2014-04-20 18:02:21 -0700
committerGary M. Josack <gary@byoteki.com>2014-04-20 18:02:21 -0700
commitc54a78314ffb5bd2f92765a2675a9b21abbf9efa (patch)
tree15fc081d82d54a0a330d0d0e85598b7d3259b39e /src/doc/tutorial.md
parent30348f46757ad0e68f69eccd31e5de345a010ac0 (diff)
downloadrust-c54a78314ffb5bd2f92765a2675a9b21abbf9efa.tar.gz
rust-c54a78314ffb5bd2f92765a2675a9b21abbf9efa.zip
Fix call order to be the same as definition order
Diffstat (limited to 'src/doc/tutorial.md')
-rw-r--r--src/doc/tutorial.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md
index 09574c80377..bd0851f9700 100644
--- a/src/doc/tutorial.md
+++ b/src/doc/tutorial.md
@@ -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();
 ~~~