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.
2 parents 147a941 + f50a1fb commit 53d09a7Copy full SHA for 53d09a7
cyclonedx-bom/src/models/license.rs
@@ -42,12 +42,6 @@ pub enum LicenseChoice {
42
Expression(SpdxExpression),
43
}
44
45
-impl LicenseChoice {
46
- pub fn is_license(&self) -> bool {
47
- matches!(self, Self::License(_))
48
- }
49
-}
50
-
51
impl Validate for LicenseChoice {
52
fn validate_version(&self, version: SpecVersion) -> ValidationResult {
53
let mut context = ValidationContext::new();
0 commit comments