Skip to content

Commit dd6a76b

Browse files
Andronik Ordiancarols10cents
authored andcommitted
Remove unused method (badge_type)
1 parent 020e825 commit dd6a76b

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
@@ -58,18 +58,6 @@ impl Badge {
5858
serde_json::from_value(serde_json::to_value(self).unwrap()).unwrap()
5959
}
6060

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

0 commit comments

Comments
 (0)