git-next/crates/core/src/config/branch_name.rs

5 lines
157 B
Rust
Raw Normal View History

use derive_more::derive::Display;
use serde::Serialize;
crate::newtype!(BranchName: String, Display, Default, Hash, Serialize: "The name of a Git branch");