tamer: xir::escape::CachingEscaper: allow(dead_code) for feature-flagged code
For now, until this feature flag is removed, so that we do not see warnings when the flag is off.main
parent
76b16fed09
commit
74ddc77adb
|
@ -204,6 +204,8 @@ pub struct CachingEscaper<S: Escaper> {
|
|||
}
|
||||
|
||||
impl<S: Escaper> CachingEscaper<S> {
|
||||
// TODO: remove allow along with wip-xmlo-xir-reader
|
||||
#[allow(dead_code)]
|
||||
pub fn new(inner: S) -> Self {
|
||||
// We know we'll encounter more than the statically allocated
|
||||
// symbols,
|
||||
|
@ -224,6 +226,8 @@ impl<S: Escaper> CachingEscaper<S> {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: remove allow along with wip-xmlo-xir-reader
|
||||
#[allow(dead_code)]
|
||||
pub fn into_inner(self) -> S {
|
||||
self.inner
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue