diff options
| author | Gary M. Josack <gary@byoteki.com> | 2014-04-20 18:02:21 -0700 |
|---|---|---|
| committer | Gary M. Josack <gary@byoteki.com> | 2014-04-20 18:02:21 -0700 |
| commit | c54a78314ffb5bd2f92765a2675a9b21abbf9efa (patch) | |
| tree | 15fc081d82d54a0a330d0d0e85598b7d3259b39e /src/doc/tutorial.md | |
| parent | 30348f46757ad0e68f69eccd31e5de345a010ac0 (diff) | |
| download | rust-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.md | 2 |
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(); ~~~ |
