Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
davepacheco committed Nov 13, 2024
1 parent fea74a6 commit c753e47
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bin/mock-server/src/lib/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -682,10 +682,7 @@ pub type Server = dropshot::HttpServer<Arc<Context>>;
pub type ServerStartError = Box<dyn std::error::Error + Send + Sync>;

/// Starts a Propolis mock server
pub fn start(
config: Config,
log: Logger,
) -> Result<Server, ServerStartError> {
pub fn start(config: Config, log: Logger) -> Result<Server, ServerStartError> {
let propolis_log = log.new(o!("component" => "propolis-server-mock"));
let dropshot_log = log.new(o!("component" => "dropshot"));
let private = Arc::new(Context::new(propolis_log));
Expand Down

0 comments on commit c753e47

Please sign in to comment.