mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 19:17:43 +00:00
Add urls to rust lang reference
This commit is contained in:
parent
76c73827dc
commit
d1fa19ce93
@ -1632,6 +1632,13 @@ pub struct ConstBlock {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// An expression.
|
/// An expression.
|
||||||
|
///
|
||||||
|
/// For more details, see the [rust lang reference].
|
||||||
|
/// Note that the reference does not document nightly-only features.
|
||||||
|
/// There may be also slight differences in the names and representation of AST nodes between
|
||||||
|
/// the compiler and the reference.
|
||||||
|
///
|
||||||
|
/// [rust lang reference]: https://doc.rust-lang.org/reference/expressions.html
|
||||||
#[derive(Debug, Clone, Copy, HashStable_Generic)]
|
#[derive(Debug, Clone, Copy, HashStable_Generic)]
|
||||||
pub struct Expr<'hir> {
|
pub struct Expr<'hir> {
|
||||||
pub hir_id: HirId,
|
pub hir_id: HirId,
|
||||||
@ -3146,6 +3153,13 @@ impl ItemId {
|
|||||||
/// An item
|
/// An item
|
||||||
///
|
///
|
||||||
/// The name might be a dummy name in case of anonymous items
|
/// The name might be a dummy name in case of anonymous items
|
||||||
|
///
|
||||||
|
/// For more details, see the [rust lang reference].
|
||||||
|
/// Note that the reference does not document nightly-only features.
|
||||||
|
/// There may be also slight differences in the names and representation of AST nodes between
|
||||||
|
/// the compiler and the reference.
|
||||||
|
///
|
||||||
|
/// [rust lang reference]: https://doc.rust-lang.org/reference/items.html
|
||||||
#[derive(Debug, Clone, Copy, HashStable_Generic)]
|
#[derive(Debug, Clone, Copy, HashStable_Generic)]
|
||||||
pub struct Item<'hir> {
|
pub struct Item<'hir> {
|
||||||
pub ident: Ident,
|
pub ident: Ident,
|
||||||
|
Loading…
Reference in New Issue
Block a user