remove comment

This commit is contained in:
2026-04-05 00:07:13 +03:00
parent 57f20edbe5
commit 8cb8916060
-1
View File
@@ -15,7 +15,6 @@ pub trait LyricsSource: Send + Sync {
async fn fetch_lyrics(&self, tag: &Tag, allow_inaccurate: bool) -> Result<String>; async fn fetch_lyrics(&self, tag: &Tag, allow_inaccurate: bool) -> Result<String>;
} }
/// Фабрика для создания источников по их строковому названию
pub async fn create_source(name: &str) -> Result<Arc<dyn LyricsSource>> { pub async fn create_source(name: &str) -> Result<Arc<dyn LyricsSource>> {
match name { match name {
"lrclib" => Ok(Arc::new(LrcLibSource::new().await?)), "lrclib" => Ok(Arc::new(LrcLibSource::new().await?)),