Merge branch 'trunk' of github.com:rtfeldman/roc into editor-comments

This commit is contained in:
Anton-4 2021-12-09 13:55:44 +01:00
commit 8c82025721
55 changed files with 1676 additions and 819 deletions

View file

@ -59,7 +59,7 @@ pub enum Attribute {
UnderlineEnd { underline_end: UnderlineEnd },
}
#[derive(Debug)]
#[derive(Debug, Default)]
pub struct Attributes {
pub all: Vec<Attribute>,
}
@ -117,9 +117,3 @@ impl Attributes {
Ok(())
}
}
impl Default for Attributes {
fn default() -> Self {
Attributes { all: Vec::new() }
}
}