summaryrefslogtreecommitdiffstats
path: root/src/conf.rs
diff options
context:
space:
mode:
authorsyn <isaqtm@gmail.com>2021-03-11 23:25:32 +0300
committersyn <isaqtm@gmail.com>2021-03-11 23:25:32 +0300
commit53c57b71adcaf3b6de1ca2a99946692db2984582 (patch)
tree393d2619fe7f9fd9ef7861d830af92288a9f911c /src/conf.rs
parent6ab586708cbc590f2b4f9265c3d07e491105970e (diff)
downloadevr-53c57b71adcaf3b6de1ca2a99946692db2984582.tar.gz
remove templates
this is kinda annoying and useless feature
Diffstat (limited to 'src/conf.rs')
-rw-r--r--src/conf.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/conf.rs b/src/conf.rs
index 0a343bb..f8c7bdb 100644
--- a/src/conf.rs
+++ b/src/conf.rs
@@ -23,12 +23,6 @@ pub struct Conf {
}
impl Conf {
- pub fn get_template(&self, fname: &Path) -> &str {
- self.get_backend(fname)
- .and_then(|backend| backend.get_template())
- .unwrap_or("")
- }
-
pub fn get_backend(&self, fname: &Path) -> Option<Box<&dyn Backend>> {
let ext = fname.extension().and_then(|ext| ext.to_str()).unwrap_or("");