Skip to content

Commit 76a2889

Browse files
committed
---
yaml --- r: 33132 b: refs/heads/dist-snap c: e904259 h: refs/heads/master v: v3
1 parent 2fad2a6 commit 76a2889

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: 95d9c8699c252f3dfe1836e93a47718d14983165
10+
refs/heads/dist-snap: e90425999e59983f5140a070c250968c265e2456
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/doc/tutorial.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,7 @@ and functions defined in it. If it has a `main` function, it can be
162162
compiled to an executable. Rust does not allow code that's not a
163163
declaration to appear at the top level of the file—all statements must
164164
live inside a function. Rust programs can also be compiled as
165-
libraries, and included in other programs. The `extern mod std`
166-
directive that appears at the top of many examples imports the
167-
[standard library][std], described in more detail [later
168-
on](#modules-and-crates).
169-
170-
[std]: http://doc.rust-lang.org/doc/std
165+
libraries, and included in other programs.
171166

172167
## Editing Rust code
173168

@@ -1586,8 +1581,7 @@ This code creates a closure that adds a given string to its argument,
15861581
returns it from a function, and then calls it:
15871582

15881583
~~~~
1589-
extern mod std;
1590-
1584+
# extern mod std;
15911585
fn mk_appender(suffix: ~str) -> fn@(~str) -> ~str {
15921586
return fn@(s: ~str) -> ~str { s + suffix };
15931587
}

0 commit comments

Comments
 (0)