Skip to content

Commit f50a1fb

Browse files
committed
Remove unused impl
* clean up Signed-off-by: Sebastian Ziebell <[email protected]>
1 parent 20ce3c4 commit f50a1fb

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
@@ -36,12 +36,6 @@ pub enum LicenseChoice {
3636
Expression(SpdxExpression),
3737
}
3838

39-
impl LicenseChoice {
40-
pub fn is_license(&self) -> bool {
41-
matches!(self, Self::License(_))
42-
}
43-
}
44-
4539
impl Validate for LicenseChoice {
4640
fn validate_with_context(&self, context: ValidationContext) -> ValidationResult {
4741
let mut results: Vec<ValidationResult> = vec![];

0 commit comments

Comments
 (0)