Skip to content

Commit

Permalink
formatted
Browse files Browse the repository at this point in the history
Signed-off-by: akoenig <andreas.koenig@berg-turbenthal.ch>
  • Loading branch information
koa committed Aug 27, 2023
1 parent f87ff99 commit 18f4487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cyclonedx-bom/src/external_models/uri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl Validate for Purl {
}
}

impl <'a> From<PackageUrl<'a>> for Purl {
impl<'a> From<PackageUrl<'a>> for Purl {
fn from(value: PackageUrl<'a>) -> Self {
Self(value.to_string())
}
Expand Down
2 changes: 1 addition & 1 deletion cyclonedx-bom/src/models/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

use std::str::FromStr;
use once_cell::sync::Lazy;
use regex::Regex;
use std::str::FromStr;

use crate::models::attached_text::AttachedText;
use crate::models::code::{Commits, Patches};
Expand Down

0 comments on commit 18f4487

Please sign in to comment.