Merge pull request #2042 from DCjanus/main

refactor: explicitly specify the type, more friendly to IDE
pull/24376/head
kodiakhq[bot] 2021-07-19 10:06:57 +00:00 committed by GitHub
commit ee6a14b7dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ fn main() -> Result<(), std::io::Error> {
// load all environment variables from .env before doing anything
load_dotenv();
let config = Config::from_args();
let config: Config = StructOpt::from_args();
let tokio_runtime = get_runtime(config.num_threads)?;
tokio_runtime.block_on(async move {