Paul Campbell
a4694d48f6
All checks were successful
ci/woodpecker/tag/cron-docker-builder Pipeline was successful
ci/woodpecker/tag/push-next Pipeline was successful
ci/woodpecker/tag/tag-created Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
8 lines
223 B
Rust
8 lines
223 B
Rust
/// The name of a Branch
|
|
#[derive(Clone, Debug, Hash, PartialEq, Eq, derive_more::Display)]
|
|
pub struct BranchName(String);
|
|
impl BranchName {
|
|
pub fn new(str: impl Into<String>) -> Self {
|
|
Self(str.into())
|
|
}
|
|
}
|