Skip to content

Commit c9afdf2

Browse files
style(db): fix cargo fmt line length in find_sort_offset
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a667967 commit c9afdf2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

crates/mt-tauri/src/db/library.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,10 @@ pub(crate) fn find_sort_offset(
210210
// Match against artist with optional ignore-words prefix stripping,
211211
// mirroring the frontend's stripIgnoredPrefix + artist comparison.
212212
let artist_expr = if let Some(ref words) = query.ignore_words {
213-
format!("LOWER(strip_sort_prefix(artist, '{}'))", words.replace('\'', "''"))
213+
format!(
214+
"LOWER(strip_sort_prefix(artist, '{}'))",
215+
words.replace('\'', "''")
216+
)
214217
} else {
215218
"LOWER(artist)".to_string()
216219
};

0 commit comments

Comments
 (0)