Derive Clone for AttrsList
This commit is contained in:
parent
bd58940c42
commit
84b6a4e086
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ impl AttrsOwned {
|
|||
|
||||
/// List of text attributes to apply to a line
|
||||
//TODO: have this clean up the spans when changes are made
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
||||
pub struct AttrsList {
|
||||
defaults: AttrsOwned,
|
||||
spans: RangeMap<usize, AttrsOwned>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue