Fix clippy warnings and Readme
This commit is contained in:
@@ -210,7 +210,7 @@ async fn parse_args_to_config(config: ArgMatches<'_>) -> ServerConfig {
|
||||
///
|
||||
/// # Panics
|
||||
/// This funcion panics if preconditions like the availability of the database are not met.
|
||||
pub(crate) async fn setup() -> Result<Option<crate::ServerConfig>, ServerError> {
|
||||
pub async fn setup() -> Result<Option<crate::ServerConfig>, ServerError> {
|
||||
// load the environment .env file if available.
|
||||
dotenv().ok();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user