icu4x icon indicating copy to clipboard operation
icu4x copied to clipboard

Try replacing more call sites of `AnyProvider` with `DataProvider<M>`

Open sffc opened this issue 2 years ago • 6 comments

I think some of the tutorials can be written using DataProvider<M: KeyedDataMarker> instead of AnyProvider. However, in order to act on any particular data request (such as overwriting it), without specialization I think they'll still need to translate via AnyPayload. However, I think we can maybe get away in most cases with only AnyPayload without full AnyProvider.

sffc avatar Aug 27 '23 00:08 sffc