From 84b6a4e0869a4db70ed94c1b0d1c40e89b4e4b35 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Mon, 24 Jul 2023 22:13:34 -0700 Subject: [PATCH] Derive Clone for AttrsList --- src/attrs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/attrs.rs b/src/attrs.rs index eeec353..fc20d12 100644 --- a/src/attrs.rs +++ b/src/attrs.rs @@ -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,