Moved around types
This commit is contained in:
@@ -31,9 +31,4 @@ impl WsdcFetcher for ScoringDanceFetcher {
|
||||
}
|
||||
|
||||
/// Convenience alias for a shared, dynamic fetcher
|
||||
pub type DynWsdcFetcher = Arc<dyn WsdcFetcher>;
|
||||
|
||||
/// Back-compat helper that uses the `WorldsdcFetcher`.
|
||||
pub async fn fetch_wsdc_info(id: u32) -> Result<DanceInfo, DanceInfoError> {
|
||||
WorldsdcFetcher.fetch(id).await
|
||||
}
|
||||
pub type DynWsdcFetcher = Arc<dyn WsdcFetcher>;
|
||||
Reference in New Issue
Block a user