style: add missing newlines for improved readability

This commit is contained in:
monosans
2025-09-18 14:00:00 +03:00
parent 97485277f4
commit a02a8aefe9
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ use crate::config::APP_DIRECTORY_NAME;
pub async fn get_cache_path() -> crate::Result<PathBuf> {
static CACHE: tokio::sync::OnceCell<PathBuf> =
tokio::sync::OnceCell::const_new();
Ok(CACHE
.get_or_try_init(async || -> crate::Result<PathBuf> {
let mut path = tokio::task::spawn_blocking(dirs::cache_dir)
+1
View File
@@ -68,6 +68,7 @@ mod scraper;
#[cfg(feature = "tui")]
mod tui;
mod utils;
use std::sync::Arc;
use color_eyre::eyre::WrapErr as _;
+1
View File
@@ -47,6 +47,7 @@ pub async fn run(
let mut app_state = AppState::default();
let logger_state = TuiWidgetState::default();
while !matches!(app_state.mode, AppMode::Quit) {
if let Some(event) = rx.recv().await {
if handle_event(event, &mut app_state, &token, &logger_state) {