You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/2_0/tutorials/data-management.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,7 @@ This will generate a `my_data_blob.postcard` file containing the serialized data
160
160
161
161
Unlike `BakedDataProvider`, `BlobDataProvider` (and `FsDataProvider`) does not perform locale fallbacking. For example, if `en-US` is requested but only `en` data is available, then the data request will fail. To enable fallback, we can wrap the provider in a `LocaleFallbackProvider`.
162
162
163
-
Note that fallback comes at a cost, as fallbacking code and data has to be included and executed on every request. If you don't need fallback (disclaimer: you probably do), you can use the `BlobDataProvider` directly (for baked data, see [`Options::skip_internal_fallback`](https://docs.rs/icu_provider_baked/2.0.0/icu_provider_baked/export/struct.Options.html)).
163
+
Note that fallback comes at a cost, as fallbacking code and data has to be included and executed on every request. If you don't need fallback (disclaimer: you probably do), you can use the `BlobDataProvider` directly (for baked data, see [`Options::skip_internal_fallback`](https://docs.rs/icu_provider_baked/2.0/icu_provider_baked/export/struct.Options.html)).
164
164
165
165
We can then use the provider in our code:
166
166
@@ -268,4 +268,4 @@ We have learned how to generate data and load it into our programs, optimize dat
268
268
269
269
For a deeper dive into configuring your data providers in code, see [data-provider-runtime.md].
270
270
271
-
You can learn more about datagen, including the Rust API which we have not used in this tutorial, by reading [the docs](https://docs.rs/icu_provider_export/2.0.0/).
271
+
You can learn more about datagen, including the Rust API which we have not used in this tutorial, by reading [the docs](https://docs.rs/icu_provider_export/2.0/).
Copy file name to clipboardExpand all lines: src/content/docs/2_0/tutorials/date-picker.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,7 +218,7 @@ Now we would also like to format the current time.
218
218
219
219
### Rust Part 4
220
220
221
-
Use the API documentation for [`icu::time::DateTime`](https://docs.rs/icu/2.0.0/icu/time/struct.DateTime.html) and [`icu::datetime::fieldsets`](https://docs.rs/icu/2.0.0/icu/datetime/fieldsets/index.html) to expand your app to format both date and time.
221
+
Use the API documentation for [`icu::time::DateTime`](https://docs.rs/icu/2.0/icu/time/struct.DateTime.html) and [`icu::datetime::fieldsets`](https://docs.rs/icu/2.0/icu/datetime/fieldsets/index.html) to expand your app to format both date and time.
Copy file name to clipboardExpand all lines: src/content/docs/2_0/tutorials/quickstart.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,7 +165,7 @@ This concludes this introduction tutorial. With the help of `Locale` and `DateTi
165
165
166
166
Internationalization is a broad domain and there are many more components in `ICU4X`.
167
167
168
-
Next, learn how to [generate optimized data for your binary](/2_0/tutorials/data-management), [configure your Cargo.toml file](https://github.com/unicode-org/icu4x/tree/release%2F2.0/tutorials/../examples/cargo), or continue exploring by reading [the docs](https://docs.rs/icu/2.0.0/).
168
+
Next, learn how to [generate optimized data for your binary](/2_0/tutorials/data-management), [configure your Cargo.toml file](https://github.com/unicode-org/icu4x/tree/release%2F2.0/tutorials/../examples/cargo), or continue exploring by reading [the docs](https://docs.rs/icu/2.0/).
0 commit comments