Skip to content

Commit

Permalink
style: fmt
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Feb 3, 2024
1 parent 06b0d65 commit bb23fdd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ impl Configurable<PaceRsConfig> for EntryPoint {
///
/// This can be safely deleted if you don't want to override config
/// settings from command-line options.
fn process_config(
&self,
config: PaceRsConfig,
) -> Result<PaceRsConfig, FrameworkError> {
fn process_config(&self, config: PaceRsConfig) -> Result<PaceRsConfig, FrameworkError> {
match &self.cmd {
PaceRsCmd::Start(cmd) => cmd.override_config(config),
//
Expand Down
5 changes: 1 addition & 4 deletions src/commands/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ impl config::Override<PaceRsConfig> for StartCmd {
// Process the given command line options, overriding settings from
// a configuration file using explicit flags taken from command-line
// arguments.
fn override_config(
&self,
mut config: PaceRsConfig,
) -> Result<PaceRsConfig, FrameworkError> {
fn override_config(&self, mut config: PaceRsConfig) -> Result<PaceRsConfig, FrameworkError> {
if !self.recipient.is_empty() {
config.hello.recipient = self.recipient.join(" ");
}
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
)]

use abscissa_core::testing::prelude::*;
use pace_rs::config::PaceRsConfig;
use once_cell::sync::Lazy;
use pace_rs::config::PaceRsConfig;

/// Executes your application binary via `cargo run`.
///
Expand Down

0 comments on commit bb23fdd

Please sign in to comment.