summaryrefslogtreecommitdiffstats
path: root/src/config/theme.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/theme.rs')
-rw-r--r--src/config/theme.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/theme.rs b/src/config/theme.rs
index ab88d6f..ef5e9ba 100644
--- a/src/config/theme.rs
+++ b/src/config/theme.rs
@@ -1,7 +1,7 @@
use serde_derive::Deserialize;
use std::collections::HashMap;
-use super::{parse_config, ConfigStructure};
+use super::{parse_config_file, ConfigStructure};
const fn default_zero() -> i16 {
0
@@ -82,7 +82,7 @@ pub struct JoshutoTheme {
impl ConfigStructure for JoshutoTheme {
fn get_config() -> Self {
- parse_config::<JoshutoTheme>(crate::THEME_FILE).unwrap_or_else(JoshutoTheme::default)
+ parse_config_file::<JoshutoTheme>(crate::THEME_FILE).unwrap_or_else(JoshutoTheme::default)
}
}