Skip to content

Commit 53d09a7

Browse files
authored
Merge pull request #643 from justahero/remove-license-choice-impl
Remove unused impl
2 parents 147a941 + f50a1fb commit 53d09a7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cyclonedx-bom/src/models/license.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ pub enum LicenseChoice {
4242
Expression(SpdxExpression),
4343
}
4444

45-
impl LicenseChoice {
46-
pub fn is_license(&self) -> bool {
47-
matches!(self, Self::License(_))
48-
}
49-
}
50-
5145
impl Validate for LicenseChoice {
5246
fn validate_version(&self, version: SpecVersion) -> ValidationResult {
5347
let mut context = ValidationContext::new();

0 commit comments

Comments
 (0)