Skip to content

Commit

Permalink
Implement clone for ThemeSet
Browse files Browse the repository at this point in the history
  • Loading branch information
h7kanna committed Dec 5, 2024
1 parent 5bb5ef8 commit d4a169f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/highlighting/theme_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use serde_derive::{Deserialize, Serialize};
use std::collections::BTreeMap;
use std::path::{Path, PathBuf};

#[derive(Debug, Default, Serialize, Deserialize)]
#[derive(Clone, Debug, Default, Serialize, Deserialize)]
pub struct ThemeSet {
// This is a `BTreeMap` because they're faster than hashmaps on small sets
pub themes: BTreeMap<String, Theme>,
Expand Down

0 comments on commit d4a169f

Please sign in to comment.