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 020e825 commit dd6a76bCopy full SHA for dd6a76b
src/badge.rs
@@ -58,18 +58,6 @@ impl Badge {
58
serde_json::from_value(serde_json::to_value(self).unwrap()).unwrap()
59
}
60
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
-
73
pub fn update_crate<'a>(
74
conn: &PgConnection,
75
krate: &Crate,
0 commit comments