Switch TableLit and Program to BoundedSeparated
This commit is contained in:
parent
a1867fdc4e
commit
e3fa3500d4
18 changed files with 146 additions and 129 deletions
|
|
@ -2,7 +2,11 @@ use pretty::{DocAllocator, DocBuilder, Pretty};
|
|||
|
||||
use crate::ast::FuncDef;
|
||||
|
||||
impl<'a, D: DocAllocator<'a>> Pretty<'a, D> for FuncDef {
|
||||
impl<'a, D> Pretty<'a, D> for FuncDef
|
||||
where
|
||||
D: DocAllocator<'a>,
|
||||
D::Doc: Clone,
|
||||
{
|
||||
fn pretty(self, allocator: &'a D) -> DocBuilder<'a, D> {
|
||||
match self {
|
||||
Self::AnonNoArg {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue