diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 05:48:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 05:48:48 +0000 |
commit | ef24de24a82fe681581cc130f342363c47c0969a (patch) | |
tree | 0d494f7e1a38b95c92426f58fe6eaa877303a86c /vendor/icu_provider_adapters/src/filter | |
parent | Releasing progress-linux version 1.74.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-ef24de24a82fe681581cc130f342363c47c0969a.tar.xz rustc-ef24de24a82fe681581cc130f342363c47c0969a.zip |
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/icu_provider_adapters/src/filter')
-rw-r--r-- | vendor/icu_provider_adapters/src/filter/impls.rs | 4 | ||||
-rw-r--r-- | vendor/icu_provider_adapters/src/filter/mod.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vendor/icu_provider_adapters/src/filter/impls.rs b/vendor/icu_provider_adapters/src/filter/impls.rs index df18cf72c..f24248eff 100644 --- a/vendor/icu_provider_adapters/src/filter/impls.rs +++ b/vendor/icu_provider_adapters/src/filter/impls.rs @@ -25,7 +25,7 @@ where /// /// ``` /// use icu_locid::LanguageIdentifier; - /// use icu_locid::{langid, locale, subtags_language as language}; + /// use icu_locid::{langid, locale, subtags::language}; /// use icu_provider::datagen::*; /// use icu_provider::hello_world::*; /// use icu_provider::prelude::*; @@ -106,7 +106,7 @@ where /// use icu_provider::prelude::*; /// use icu_provider_adapters::filter::Filterable; /// - /// let allowlist = vec![langid!("de"), langid!("zh")]; + /// let allowlist = [langid!("de"), langid!("zh")]; /// let provider = HelloWorldProvider /// .filterable("Demo German+Chinese filter") /// .filter_by_langid_allowlist_strict(&allowlist); diff --git a/vendor/icu_provider_adapters/src/filter/mod.rs b/vendor/icu_provider_adapters/src/filter/mod.rs index 83be9f779..19b6bf233 100644 --- a/vendor/icu_provider_adapters/src/filter/mod.rs +++ b/vendor/icu_provider_adapters/src/filter/mod.rs @@ -21,7 +21,7 @@ //! # Examples //! //! ``` -//! use icu_locid::subtags_language as language; +//! use icu_locid::subtags::language; //! use icu_provider::hello_world::*; //! use icu_provider::prelude::*; //! use icu_provider_adapters::filter::Filterable; |