Skip to content

Commit

Permalink
Run rust fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
akiomik committed Jan 1, 2024
1 parent 10d5fa5 commit 893d522
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/conn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 893d522

Please sign in to comment.