Skip to content

Commit 03c623b

Browse files
committed
---
yaml --- r: 35450 b: refs/heads/master c: 1ba9419 h: refs/heads/master v: v3
1 parent d63c464 commit 03c623b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 3f78e0ecc03b9e0c7b46c64a4be69343c6a8888a
2+
refs/heads/master: 1ba9419e6c8ea85e2d9f132d45dda4acb9598e53
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/doc/tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ let stack_crayons: &str = "Almond, AntiqueBrass, Apricot";
14551455
let stack_crayons: &str = &"Aquamarine, Asparagus, AtomicTangerine";
14561456
14571457
// A local heap (managed) string
1458-
let local_crayons: @str = @"BananMania, Beaver, Bittersweet";
1458+
let local_crayons: @str = @"BananaMania, Beaver, Bittersweet";
14591459
14601460
// An exchange heap (owned) string
14611461
let exchange_crayons: ~str = ~"Black, BlizzardBlue, Blue";
@@ -2133,7 +2133,7 @@ let stacky: &Drawable = &new_circle() as &Drawable;
21332133
21342134
Method calls to trait types are _dynamically dispatched_. Since the
21352135
compiler doesn't know specifically which functions to call at compile
2136-
time it uses a lookup table (also known as a vtable or dictionary) to
2136+
time, it uses a lookup table (also known as a vtable or dictionary) to
21372137
select the method to call at runtime.
21382138

21392139
This usage of traits is similar to Java interfaces.
@@ -2402,7 +2402,7 @@ tutorials on individual topics.
24022402

24032403
There is further documentation on the [wiki], including articles about
24042404
[unit testing] in Rust, [documenting][rustdoc] and [packaging][cargo]
2405-
Rust code, and a discussion of the [attributes] used to apply metada
2405+
Rust code, and a discussion of the [attributes] used to apply metadata
24062406
to code.
24072407

24082408
[borrow]: tutorial-borrowed-ptr.html

0 commit comments

Comments
 (0)