remove unused code for vars
This commit is contained in:
parent
7a22af7598
commit
67f925f160
11
src/vars.rs
11
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<ArcStr, ArcStr>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user