We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f5e5f8 commit a4ddb91Copy full SHA for a4ddb91
src/badge.rs
@@ -57,18 +57,6 @@ impl Badge {
57
serde_json::from_value(serde_json::to_value(self).unwrap()).unwrap()
58
}
59
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
-
72
pub fn update_crate<'a>(
73
conn: &PgConnection,
74
krate: &Crate,
0 commit comments