style: format code

This commit is contained in:
talwat 2025-09-25 19:19:43 +02:00
parent 66f2243b2c
commit 226c674295
2 changed files with 5 additions and 4 deletions

View File

@ -42,7 +42,9 @@ impl Bookmarks {
/// Loads bookmarks from the `bookmarks.txt` file.
pub async fn load() -> eyre::Result<Self, BookmarkError> {
let text = fs::read_to_string(Self::path().await?).await.unwrap_or_default();
let text = fs::read_to_string(Self::path().await?)
.await
.unwrap_or_default();
let lines: Vec<String> = text
.trim_start_matches("noheader")

View File

@ -120,11 +120,10 @@ pub async fn scrape() -> eyre::Result<()> {
const IGNORED_TRACKS: [u32; 20] = [
// 404
74707,
// Lyrics
74707, // Lyrics
21655, 21773, 8172, 55397, 75135, 24827, 8141, 8157, 64052, 31612, 41956, 8001, 9217, 55372,
// Abnormal
8469, 7832, 10448, 9446, 9396
8469, 7832, 10448, 9446, 9396,
];
const IGNORED_ARTISTS: [&str; 1] = [