docs: Fix cargo-doc errors
This commit is contained in:
@@ -130,7 +130,7 @@ pub enum BindKind {
|
||||
pub struct Make<A: Annotation = Span>(pub Anno<Expr<A>, A>, pub Vec<MakeArm<A>>);
|
||||
|
||||
/// A single "arm" of a make expression
|
||||
/// ```ignore
|
||||
/// ```text
|
||||
/// Identifier (':' Expr)?
|
||||
/// ```
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
@@ -157,10 +157,10 @@ pub enum Expr<A: Annotation = Span> {
|
||||
MetId(String),
|
||||
/// A literal bool, string, char, or int
|
||||
Lit(Literal),
|
||||
/// `(let | const | static) Pat<NoTopAlt> (= expr (else expr)?)?` |
|
||||
/// `(fn | mod | impl) Pat<Fn> Expr`
|
||||
/// `(let | const | static) Pat::NoTopAlt (= expr (else expr)?)?` |
|
||||
/// `(fn | mod | impl) Pat::Fn Expr`
|
||||
Bind(Box<Bind<A>>),
|
||||
/// (struct | enum | type) Pat<NoTopAlt>
|
||||
/// (struct | enum | type) Pat::NoTopAlt
|
||||
Struct(Box<Typedef>),
|
||||
/// Expr { (Ident (: Expr)?),* }
|
||||
Make(Box<Make<A>>),
|
||||
|
||||
Reference in New Issue
Block a user