Updated RangeMap to Add Clear().
This commit is contained in:
parent
b9fef72f76
commit
8614a7a398
3 changed files with 5 additions and 3 deletions
|
|
@ -251,8 +251,7 @@ impl AttrsList {
|
|||
|
||||
/// Clear the current attribute spans
|
||||
pub fn clear_spans(&mut self) {
|
||||
//Todo: Once clear is added Change this back to clear.
|
||||
self.spans = RangeMap::new();
|
||||
self.spans.clear();
|
||||
}
|
||||
|
||||
/// Add an attribute span, removes any previous matching parts of spans
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue