Make doctests collect and emit the unused externs
This commit is contained in:
parent
2d5200605f
commit
13371b59ee
3 changed files with 88 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue