diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:50 +0000 |
commit | 2e00214b3efbdfeefaa0fe9e8b8fd519de7adc35 (patch) | |
tree | d325add32978dbdc1db975a438b3a77d571b1ab8 /vendor/icu_provider/src/constructors.rs | |
parent | Releasing progress-linux version 1.68.2+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-2e00214b3efbdfeefaa0fe9e8b8fd519de7adc35.tar.xz rustc-2e00214b3efbdfeefaa0fe9e8b8fd519de7adc35.zip |
Merging upstream version 1.69.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/icu_provider/src/constructors.rs')
-rw-r--r-- | vendor/icu_provider/src/constructors.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/icu_provider/src/constructors.rs b/vendor/icu_provider/src/constructors.rs index a9330c3f2..053da0320 100644 --- a/vendor/icu_provider/src/constructors.rs +++ b/vendor/icu_provider/src/constructors.rs @@ -54,7 +54,7 @@ //! 2. [`FsDataProvider`] //! 3. [`ForkByKeyProvider`] between any of the above //! -//! Please note that you must enable the `"serde"` feature on each crate in which you use the +//! Please note that you must enable the `"serde"` Cargo feature on each crate in which you use the //! `*_with_buffer_provider` constructor. //! //! # Data Versioning Policy @@ -78,8 +78,8 @@ //! Over FFI, there is only one data provider type: [`ICU4XDataProvider`]. Internally, it is an //! `enum` between `dyn `[`AnyProvider`] and `dyn `[`BufferProvider`]. //! -//! To control for code size, there are two features, `any_provider` and `buffer_provider`, that -//! enable the corresponding items in the enum. +//! To control for code size, there are two Cargo features, `any_provider` and `buffer_provider`, +//! that enable the corresponding items in the enum. //! //! In Rust ICU4X, a similar buffer/any enum approach was not taken because: //! |