From 893d52238bd4022cb964fb76642509666cdfd458 Mon Sep 17 00:00:00 2001 From: Akiomi Kamakura Date: Mon, 1 Jan 2024 17:25:01 +0900 Subject: [PATCH] Run rust fmt --- src/conn.rs | 4 +++- src/main.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/conn.rs b/src/conn.rs index 8cf82736..0ede4c0e 100644 --- a/src/conn.rs +++ b/src/conn.rs @@ -29,7 +29,9 @@ impl Conn { ]) .since(Timestamp::now() - Duration::new(60 * 5, 0)); // 5min let profile_filter = Filter::new().authors(followings).kinds([Kind::Metadata]); - nostr_client.subscribe(vec![timeline_filter, profile_filter]).await; + nostr_client + .subscribe(vec![timeline_filter, profile_filter]) + .await; nostr_client .handle_notifications(|notification| async { diff --git a/src/main.rs b/src/main.rs index 13499652..edca332d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,11 +9,11 @@ pub mod components; pub mod config; pub mod conn; pub mod mode; +pub mod nostr; pub mod text; pub mod tui; pub mod utils; pub mod widgets; -pub mod nostr; use clap::Parser; use cli::Cli;