mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
another default instance
This commit is contained in:
parent
21ff434fe3
commit
22c6e3f4a1
1 changed files with 1 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue