Fix missing feature gate.
This commit is contained in:
parent
a76f4dd6d3
commit
f188f96974
@ -504,6 +504,7 @@ impl Module {
|
|||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub fn clear(&mut self) {
|
pub fn clear(&mut self) {
|
||||||
self.id.clear();
|
self.id.clear();
|
||||||
|
#[cfg(feature = "metadata")]
|
||||||
self.doc.clear();
|
self.doc.clear();
|
||||||
self.internal = false;
|
self.internal = false;
|
||||||
self.standard = false;
|
self.standard = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user