Skip to content

Commit 677ad44

Browse files
committed
Remove unused Default impl
1 parent a876500 commit 677ad44

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Removed
11+
12+
- `Default` trait impl for `PasFmtConfiguration`.
13+
1014
### Added
1115

1216
- `try_create` and `validate` functions to the type generated by the `pasfmt_config!` macro.

orchestrator/src/command_line.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -157,20 +157,6 @@ fn get_styles() -> Styles {
157157
.placeholder(AnsiColor::White.on_default())
158158
}
159159

160-
impl Default for PasFmtConfiguration {
161-
fn default() -> Self {
162-
Self {
163-
paths: Default::default(),
164-
files_from: Default::default(),
165-
config_file: Default::default(),
166-
verbose: Default::default(),
167-
config: Default::default(),
168-
log_level: LevelFilter::Warn,
169-
mode: None,
170-
}
171-
}
172-
}
173-
174160
// By default, some providers save the source code location as their 'source'.
175161
// This struct and corresponding trait provide a way to erase that while also
176162
// providing a new name for the metadata.

0 commit comments

Comments
 (0)