Skip to content

Commit 8fb77c7

Browse files
committed
tutorial: Repair broken links
1 parent 7b2218d commit 8fb77c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ was taken.
309309

310310
In short, everything that's not a declaration (declarations are `let` for
311311
variables; `fn` for functions; and any top-level named items such as
312-
[traits](#traits), [enum types](#enums), and [constants](#constants)) is an
312+
[traits](#traits), [enum types](#enums), and static items) is an
313313
expression, including function bodies.
314314

315315
~~~~
@@ -1374,7 +1374,7 @@ let exchange_crayons: ~str = ~"Black, BlizzardBlue, Blue";
13741374
~~~
13751375

13761376
Both vectors and strings support a number of useful
1377-
[methods](#functions-and-methods), defined in [`std::vec`]
1377+
[methods](#methods), defined in [`std::vec`]
13781378
and [`std::str`]. Here are some examples.
13791379

13801380
[`std::vec`]: std/vec.html
@@ -1928,7 +1928,7 @@ that implements a trait includes the name of the trait at the start of
19281928
the definition, as in the following impls of `Printable` for `int`
19291929
and `~str`.
19301930

1931-
[impls]: #functions-and-methods
1931+
[impls]: #methods
19321932

19331933
~~~~
19341934
# trait Printable { fn print(&self); }

0 commit comments

Comments
 (0)