Satisfy warnings
This commit is contained in:
parent
3ed3c4e8f8
commit
03e7f10739
14 changed files with 66 additions and 66 deletions
|
|
@ -5,13 +5,13 @@ use crate::ast::Program;
|
|||
impl<'a, D: DocAllocator<'a>> Pretty<'a, D> for Program {
|
||||
fn pretty(self, allocator: &'a D) -> DocBuilder<'a, D> {
|
||||
match self {
|
||||
Program::Expr {
|
||||
Self::Expr {
|
||||
s0,
|
||||
expr,
|
||||
s1,
|
||||
span: _,
|
||||
} => expr.pretty(allocator),
|
||||
Program::Module {
|
||||
Self::Module {
|
||||
s0,
|
||||
s1,
|
||||
elems,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue