We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76c7382 commit a7d3c49Copy full SHA for a7d3c49
compiler/rustc_hir/src/hir.rs
@@ -1632,6 +1632,9 @@ pub struct ConstBlock {
1632
}
1633
1634
/// An expression.
1635
+/// For more details, see the [rust lang reference]
1636
+///
1637
+/// [rust lang reference]: https://doc.rust-lang.org/reference/expressions.html
1638
#[derive(Debug, Clone, Copy, HashStable_Generic)]
1639
pub struct Expr<'hir> {
1640
pub hir_id: HirId,
@@ -3146,6 +3149,9 @@ impl ItemId {
3146
3149
/// An item
3147
3150
///
3148
3151
/// The name might be a dummy name in case of anonymous items
3152
3153
3154
+/// [rust lang reference]: https://doc.rust-lang.org/reference/items.html
3155
3156
pub struct Item<'hir> {
3157
pub ident: Ident,
0 commit comments