From 67f925f16037ff21a10b5f15f684146c43b38492 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Mon, 28 Oct 2024 11:35:18 +0300 Subject: [PATCH] remove unused code for vars --- src/vars.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/vars.rs b/src/vars.rs index 8365068..f614047 100644 --- a/src/vars.rs +++ b/src/vars.rs @@ -33,17 +33,6 @@ impl IStrMap for VarsMap { } } -impl VarsMap { - pub(crate) fn filepath(&self) -> Option<&str> { - self.get(&"__file__") - } - - #[allow(dead_code)] - pub(crate) fn encoding(&self) -> Option<&str> { - self.get(&"__encoding__") - } -} - impl Deref for VarsMap { type Target = BTreeMap;