remove unused code for vars

This commit is contained in:
Dmitry Belyaev 2024-10-28 11:35:18 +03:00
parent 7a22af7598
commit 67f925f160
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3

@ -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<ArcStr, ArcStr>;