From 6e2477e38c27b880bc87d0ab8f22edd0e4bdabff Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 6 Dec 2020 01:15:13 +0000 Subject: [PATCH] formatting, some from rustfmt (manually picked) Signed-off-by: Ian Jackson --- src/global.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/global.rs b/src/global.rs index bbf5074e..a9c98272 100644 --- a/src/global.rs +++ b/src/global.rs @@ -1066,20 +1066,20 @@ pub fn load_games(accounts: &mut AccountsGuard, let leaf = leaf.as_bytes(); match savefilename_parse(leaf)? { NotGameFile => { - }, + } TempToDelete => { fs::remove_file(de.path()) .context("stale temporary file")?; - }, + } AccessFile => { a_leaves.entry(leaf.to_owned()).or_insert_with( || Found(de.path()) ); - }, + } GameFile { access_leaf, name } => { InstanceGuard::load_game(accounts, games, name)?; a_leaves.insert(access_leaf, Used); - }, + } } >::Ok(()) })().with_context(|| format!("leaf={:?}", leaf))?; -- 2.30.2