mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	chore: add lints in workspace cargo config (#223)
This commit is contained in:
		| @ -5,7 +5,10 @@ use structopt::StructOpt; | ||||
| async fn main() -> DrainerResult<()> { | ||||
|     // Get configuration | ||||
|     let cmd_line = settings::CmdLineConf::from_args(); | ||||
|     let conf = settings::Settings::with_config_path(cmd_line.config_path).unwrap(); | ||||
|  | ||||
|     #[allow(clippy::expect_used)] | ||||
|     let conf = settings::Settings::with_config_path(cmd_line.config_path) | ||||
|         .expect("Unable to construct application configuration"); | ||||
|  | ||||
|     let store = services::Store::new(&conf, false).await; | ||||
|     let store = std::sync::Arc::new(store); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sanchith Hegde
					Sanchith Hegde