Skip to content

Commit

Permalink
Implement Default trait for PathMode type
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacdonald committed Apr 7, 2024
1 parent f0ceb78 commit f63d8cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/models/application/modes/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ impl PathMode {
}
}

impl Default for PathMode {
fn default() -> Self {
Self::new()
}
}

impl fmt::Display for PathMode {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "PATH")
Expand Down

0 comments on commit f63d8cf

Please sign in to comment.