Skip to content

Commit 034f446

Browse files
committed
Clean up
* remove commented code Signed-off-by: Sebastian Ziebell <[email protected]>
1 parent 20ce3c4 commit 034f446

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

cyclonedx-bom/src/specs/v1_3/metadata.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,6 @@ pub(crate) struct Metadata {
5656
properties: Option<Properties>,
5757
}
5858

59-
/*
60-
impl From<models::metadata::Metadata> for Metadata {
61-
fn from(other: models::metadata::Metadata) -> Self {
62-
Self {
63-
timestamp: other.timestamp.map(|t| t.to_string()),
64-
tools: convert_optional(other.tools),
65-
authors: convert_optional_vec(other.authors),
66-
component: convert_optional(other.component),
67-
manufacture: convert_optional(other.manufacture),
68-
supplier: convert_optional(other.supplier),
69-
licenses: convert_optional(other.licenses),
70-
properties: convert_optional(other.properties),
71-
}
72-
}
73-
}
74-
*/
75-
7659
impl TryFrom<models::metadata::Metadata> for Metadata {
7760
type Error = BomError;
7861

0 commit comments

Comments
 (0)