Add urls to rust lang reference · rust-lang/rust@d1fa19c (original) (raw)
`@@ -1632,6 +1632,13 @@ pub struct ConstBlock {
`
1632
1632
`}
`
1633
1633
``
1634
1634
`/// An expression.
`
``
1635
`+
///
`
``
1636
`+
/// For more details, see the [rust lang reference].
`
``
1637
`+
/// Note that the reference does not document nightly-only features.
`
``
1638
`+
/// There may be also slight differences in the names and representation of AST nodes between
`
``
1639
`+
/// the compiler and the reference.
`
``
1640
`+
///
`
``
1641
`+
/// [rust lang reference]: https://doc.rust-lang.org/reference/expressions.html
`
1635
1642
`#[derive(Debug, Clone, Copy, HashStable_Generic)]
`
1636
1643
`pub struct Expr<'hir> {
`
1637
1644
`pub hir_id: HirId,
`
`@@ -3146,6 +3153,13 @@ impl ItemId {
`
3146
3153
`/// An item
`
3147
3154
`///
`
3148
3155
`/// The name might be a dummy name in case of anonymous items
`
``
3156
`+
///
`
``
3157
`+
/// For more details, see the [rust lang reference].
`
``
3158
`+
/// Note that the reference does not document nightly-only features.
`
``
3159
`+
/// There may be also slight differences in the names and representation of AST nodes between
`
``
3160
`+
/// the compiler and the reference.
`
``
3161
`+
///
`
``
3162
`+
/// [rust lang reference]: https://doc.rust-lang.org/reference/items.html
`
3149
3163
`#[derive(Debug, Clone, Copy, HashStable_Generic)]
`
3150
3164
`pub struct Item<'hir> {
`
3151
3165
`pub ident: Ident,
`