forked from kemitix/git-next
9 lines
186 B
Rust
9 lines
186 B
Rust
use derive_more::Display;
|
|
use git_next_config::newtype;
|
|
|
|
newtype!(Generation is a u32, Display, Default, Copy);
|
|
impl Generation {
|
|
pub fn inc(&mut self) {
|
|
self.0 += 1
|
|
}
|
|
}
|