remove unused Display impl
This commit is contained in:
parent
515dbe73ab
commit
e28cf74162
1 changed files with 0 additions and 7 deletions
|
@ -7,7 +7,6 @@ use syntax::attr;
|
|||
use syntax_pos::FileName;
|
||||
|
||||
use std::collections::BTreeMap;
|
||||
use std::fmt;
|
||||
use std::ops;
|
||||
|
||||
pub const CALCULATE_DOC_COVERAGE: Pass = Pass {
|
||||
|
@ -67,12 +66,6 @@ impl ops::AddAssign for ItemCount {
|
|||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for ItemCount {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "{}/{}", self.with_docs, self.total)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
struct CoverageCalculator {
|
||||
items: BTreeMap<FileName, ItemCount>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue