Skip to content
This repository has been archived by the owner on Feb 26, 2025. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
noise64 committed Jan 16, 2025
1 parent 139aa0f commit 521c108
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ use strum_macros::EnumIter;
)]
pub struct ComponentName(String);

static COMPONENT_NAME_SPLIT_REGEX: Lazy<Regex> = Lazy::new(|| Regex::new("(?=[A-Z\\-_:])").unwrap());
static COMPONENT_NAME_SPLIT_REGEX: Lazy<Regex> =
Lazy::new(|| Regex::new("(?=[A-Z\\-_:])").unwrap());

impl ComponentName {
pub fn new(name: impl AsRef<str>) -> ComponentName {
Expand Down

0 comments on commit 521c108

Please sign in to comment.