mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
another default instance
This commit is contained in:
parent
21ff434fe3
commit
22c6e3f4a1
@ -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() }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user