Fix clippy warnings and Readme

This commit is contained in:
2021-08-12 15:48:02 +02:00
committed by dietrich
parent 7cb20cf8b1
commit 51276d3831
9 changed files with 18 additions and 15 deletions
+1 -1
View File
@@ -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();