mirror of
https://github.com/arabianq/lyrics_fetcher.git
synced 2026-04-28 08:01:22 +00:00
remove comment
This commit is contained in:
@@ -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?)),
|
||||||
|
|||||||
Reference in New Issue
Block a user