Apply rustfmt. (#1873)

This commit is contained in:
Laurent Mazare
2024-03-18 21:43:31 +01:00
committed by GitHub
parent 90fc82211f
commit f115895b9e

View File

@ -13,8 +13,8 @@ mod gym_env;
mod vec_gym_env; mod vec_gym_env;
mod ddpg; mod ddpg;
mod policy_gradient;
mod dqn; mod dqn;
mod policy_gradient;
#[derive(Parser)] #[derive(Parser)]
struct Args { struct Args {
@ -26,7 +26,7 @@ struct Args {
enum Command { enum Command {
Pg, Pg,
Ddpg, Ddpg,
Dqn Dqn,
} }
fn main() -> Result<()> { fn main() -> Result<()> {
@ -34,7 +34,7 @@ fn main() -> Result<()> {
match args.command { match args.command {
Command::Pg => policy_gradient::run()?, Command::Pg => policy_gradient::run()?,
Command::Ddpg => ddpg::run()?, Command::Ddpg => ddpg::run()?,
Command::Dqn => dqn::run()? Command::Dqn => dqn::run()?,
} }
Ok(()) Ok(())
} }