Skip to content

Commit a77ef18

Browse files
committed
---
yaml --- r: 33126 b: refs/heads/dist-snap c: e513bc9 h: refs/heads/master v: v3
1 parent 92b3866 commit a77ef18

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
@@ -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: 5947141aef34bd87db4997fe74c23b90314f7a22
10+
refs/heads/dist-snap: e513bc98754c1dfa33e8d71b7352a0409905e5f3
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/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)