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
+4
View File
@@ -485,6 +485,10 @@ pub fn get(&self, key: &str) -> Option<&ExternEntry> {
pub fn iter(&self) -> BTreeMapIter<'_, String, ExternEntry> {
self.0.iter()
}
pub fn len(&self) -> usize {
self.0.len()
}
}
impl ExternEntry {