Moved around types
All checks were successful
Release / build_release (push) Successful in 2m21s
Rust / build_and_test (push) Successful in 1m13s

This commit is contained in:
Lukas Wölfer
2026-01-17 22:24:00 +01:00
parent a2642f6b9a
commit b869842aa3
3 changed files with 58 additions and 64 deletions

View File

@@ -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>;