forked from kemitix/git-next
8 lines
216 B
Rust
8 lines
216 B
Rust
/// The hostname of a forge
|
|
#[derive(Clone, Debug, PartialEq, Eq, derive_more::Display)]
|
|
pub struct Hostname(String);
|
|
impl Hostname {
|
|
pub fn new(str: impl Into<String>) -> Self {
|
|
Self(str.into())
|
|
}
|
|
}
|