@@ -773,8 +773,8 @@ A view item manages the namespace of a module; it does not define new items
773
773
but simply changes the visibility of other items. There are several kinds of
774
774
view item:
775
775
776
- * [ extern mod declarations] ( #extern-mod-declarations )
777
- * [ use declarations] ( #use-declarations )
776
+ * [ ` extern mod ` declarations] ( #extern-mod-declarations )
777
+ * [ ` use ` declarations] ( #use-declarations )
778
778
779
779
##### Extern mod declarations
780
780
@@ -784,7 +784,7 @@ link_attrs : link_attr [ ',' link_attrs ] + ;
784
784
link_attr : ident '=' literal ;
785
785
~~~~~~~~
786
786
787
- An _ extern mod declaration_ specifies a dependency on an external crate.
787
+ An _ ` extern mod` declaration_ specifies a dependency on an external crate.
788
788
The external crate is then bound into the declaring scope as the ` ident ` provided in the ` extern_mod_decl ` .
789
789
790
790
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`.
1737
1737
Executing an ` as ` expression casts the value on the left-hand side to the type
1738
1738
on the right-hand side.
1739
1739
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.
1743
1743
1744
1744
An example of an ` as ` expression:
1745
1745
0 commit comments