Skip to content

Commit bb16155

Browse files
committed
---
yaml --- r: 24464 b: refs/heads/master c: e513bc9 h: refs/heads/master v: v3
1 parent 5cfa48a commit bb16155

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
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: 5947141aef34bd87db4997fe74c23b90314f7a22
2+
refs/heads/master: e513bc98754c1dfa33e8d71b7352a0409905e5f3
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/doc/rust.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -773,8 +773,8 @@ A view item manages the namespace of a module; it does not define new items
773773
but simply changes the visibility of other items. There are several kinds of
774774
view item:
775775

776-
* [extern mod declarations](#extern-mod-declarations)
777-
* [use declarations](#use-declarations)
776+
* [`extern mod` declarations](#extern-mod-declarations)
777+
* [`use` declarations](#use-declarations)
778778

779779
##### Extern mod declarations
780780

@@ -784,7 +784,7 @@ link_attrs : link_attr [ ',' link_attrs ] + ;
784784
link_attr : ident '=' literal ;
785785
~~~~~~~~
786786

787-
An _extern mod declaration_ specifies a dependency on an external crate.
787+
An _`extern mod` declaration_ specifies a dependency on an external crate.
788788
The external crate is then bound into the declaring scope as the `ident` provided in the `extern_mod_decl`.
789789

790790
The external crate is resolved to a specific `soname` at compile time, and a
@@ -1737,9 +1737,9 @@ A type cast expression is denoted with the binary operator `as`.
17371737
Executing an `as` expression casts the value on the left-hand side to the type
17381738
on the right-hand side.
17391739

1740-
A numeric value can be cast to any numeric type. An unsafe pointer value can
1741-
be cast to or from any integral type or unsafe pointer type. Any other cast
1742-
is unsupported and will fail to compile.
1740+
A numeric value can be cast to any numeric type.
1741+
A raw pointer value can be cast to or from any integral type or raw pointer type.
1742+
Any other cast is unsupported and will fail to compile.
17431743

17441744
An example of an `as` expression:
17451745

0 commit comments

Comments
 (0)