diff options
| author | Martin Haug <mhaug@live.de> | 2022-06-08 18:43:00 +0200 |
|---|---|---|
| committer | Martin Haug <mhaug@live.de> | 2022-06-08 19:26:20 +0200 |
| commit | 72d3f3fffabe6872eb7839585bea925b89aac6a4 (patch) | |
| tree | 2c55fc7bceb85d7ce94b09536ee02f5fedcd5fff /src/model/styles.rs | |
| parent | 9dca4c2f7833055edd3c1682e98dcc3f86b7e31b (diff) | |
CR: Whoever said orange is the new pink was seriously disturbed.
Diffstat (limited to 'src/model/styles.rs')
| -rw-r--r-- | src/model/styles.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/model/styles.rs b/src/model/styles.rs index 7db2df42..7d16f4ba 100644 --- a/src/model/styles.rs +++ b/src/model/styles.rs @@ -37,13 +37,6 @@ impl StyleMap { styles } - /// Create a style map from a single role. - pub fn with_role(role: Role) -> Self { - let mut styles = Self::new(); - styles.push(StyleEntry::Role(role)); - styles - } - /// Set an inner value for a style property. /// /// If the property needs folding and the value is already contained in the |
