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 20ce3c4 commit f50a1fbCopy full SHA for f50a1fb
cyclonedx-bom/src/models/license.rs
@@ -36,12 +36,6 @@ pub enum LicenseChoice {
36
Expression(SpdxExpression),
37
}
38
39
-impl LicenseChoice {
40
- pub fn is_license(&self) -> bool {
41
- matches!(self, Self::License(_))
42
- }
43
-}
44
-
45
impl Validate for LicenseChoice {
46
fn validate_with_context(&self, context: ValidationContext) -> ValidationResult {
47
let mut results: Vec<ValidationResult> = vec![];
0 commit comments