From c02037628e36e71e528b3c76ffb88dc103d73228 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 6 Dec 2021 20:49:58 +0300 Subject: Make rustfmt and clippy happy --- src/bin/kittybox_database_converter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bin/kittybox_database_converter.rs') diff --git a/src/bin/kittybox_database_converter.rs b/src/bin/kittybox_database_converter.rs index 4dcd2ab..bc355c9 100644 --- a/src/bin/kittybox_database_converter.rs +++ b/src/bin/kittybox_database_converter.rs @@ -58,7 +58,7 @@ async fn convert_from_redis(from: String, new_storage: S) -> anyhow: Ok(settings) => { for (k, v) in settings.iter() { if let Err(e) = storage - .set_setting(k, &user, v) + .set_setting(k, user, v) .await .with_context(|| format!("Failed setting {} for {}", k, user)) { @@ -72,7 +72,7 @@ async fn convert_from_redis(from: String, new_storage: S) -> anyhow: } } - return Ok(()); + Ok(()) } #[async_std::main] -- cgit 1.4.1