1
Fork 0

Make doctests collect and emit the unused externs

This commit is contained in:
est31 2020-08-01 12:57:35 +02:00
parent 2d5200605f
commit 13371b59ee
3 changed files with 88 additions and 7 deletions

View file

@ -485,6 +485,10 @@ impl Externs {
pub fn iter(&self) -> BTreeMapIter<'_, String, ExternEntry> {
self.0.iter()
}
pub fn len(&self) -> usize {
self.0.len()
}
}
impl ExternEntry {