Wrap up 0.19.10.

This commit is contained in:
Stephen Chung
2021-01-14 19:07:03 +08:00
parent fe65bf6137
commit 3f44e2893c
5 changed files with 16 additions and 20 deletions

View File

@@ -1058,13 +1058,13 @@ impl Stmt {
}
}
/// _(INTERNALS)_ A custom syntax definition.
/// _(INTERNALS)_ A custom syntax expression.
/// Exported under the `internals` feature only.
///
/// # WARNING
///
/// This type is volatile and may change.
#[derive(Clone, Hash)]
#[derive(Debug, Clone, Hash)]
pub struct CustomExpr {
/// List of keywords.
pub keywords: StaticVec<Expr>,
@@ -1074,17 +1074,6 @@ pub struct CustomExpr {
pub scope_delta: isize,
}
impl fmt::Debug for CustomExpr {
#[inline(always)]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str("CustomExpr { keywords:")?;
fmt::Debug::fmt(&self.keywords, f)?;
f.write_str(", tokens:")?;
fmt::Debug::fmt(&self.tokens, f)?;
f.write_str("}")
}
}
/// _(INTERNALS)_ A binary expression.
/// Exported under the `internals` feature only.
///