Skip to content

Commit a4ddb91

Browse files
author
Andronik Ordian
committed
Remove unused method (badge_type)
1 parent 5f5e5f8 commit a4ddb91

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/badge.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,6 @@ impl Badge {
5757
serde_json::from_value(serde_json::to_value(self).unwrap()).unwrap()
5858
}
5959

60-
pub fn badge_type(&self) -> &'static str {
61-
match *self {
62-
Badge::TravisCi { .. } => "travis-ci",
63-
Badge::Appveyor { .. } => "appveyor",
64-
Badge::GitLab { .. } => "git-lab",
65-
Badge::IsItMaintainedIssueResolution { .. } => "is-it-maintained-issue-resolution",
66-
Badge::IsItMaintainedOpenIssues { .. } => "is-it-maintained-open-issues",
67-
Badge::Codecov { .. } => "codecov",
68-
Badge::Coveralls { .. } => "coveralls",
69-
}
70-
}
71-
7260
pub fn update_crate<'a>(
7361
conn: &PgConnection,
7462
krate: &Crate,

0 commit comments

Comments
 (0)