add Default implementation

This commit is contained in:
yggverse 2024-12-06 23:31:52 +02:00
parent 96f81addcb
commit 1d5fa4febb
3 changed files with 18 additions and 0 deletions

View file

@ -24,6 +24,12 @@ pub struct Profile {
pub config_path: PathBuf,
}
impl Default for Profile {
fn default() -> Self {
Self::new()
}
}
impl Profile {
// Constructors