fix needless_question_mark

This commit is contained in:
Dustin J. Mitchell 2021-03-29 19:25:12 -04:00
parent fdeadfd981
commit bbceed41f9

View file

@ -132,7 +132,7 @@ fn get_server(settings: &Config) -> anyhow::Result<Box<dyn Server>> {
log::debug!("Using local sync-server at `{:?}`", server_dir); log::debug!("Using local sync-server at `{:?}`", server_dir);
ServerConfig::Local { server_dir } ServerConfig::Local { server_dir }
}; };
Ok(config.into_server()?) config.into_server()
} }
/// Get a WriteColor implementation based on whether the output is a tty. /// Get a WriteColor implementation based on whether the output is a tty.