Skip to content

Commit ca2a04b

Browse files
committed
rename
1 parent f4187e9 commit ca2a04b

File tree

18 files changed

+164
-164
lines changed

18 files changed

+164
-164
lines changed

components/segmenter/src/line.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ impl LineSegmenter {
545545
///
546546
/// [📚 Help choosing a constructor](icu_provider::constructors)
547547
#[cfg(feature = "compiled_data")]
548-
pub const fn new_non_complex(options: LineBreakOptions) -> LineSegmenterBorrowed<'static> {
548+
pub const fn new_for_non_complex_scripts(options: LineBreakOptions) -> LineSegmenterBorrowed<'static> {
549549
LineSegmenterBorrowed {
550550
options: options.resolve(),
551551
data: crate::provider::Baked::SINGLETON_SEGMENTER_BREAK_LINE_V1,
@@ -556,15 +556,15 @@ impl LineSegmenter {
556556
icu_provider::gen_buffer_data_constructors!(
557557
(options: LineBreakOptions) -> error: DataError,
558558
functions: [
559-
new_non_complex: skip,
560-
try_new_non_complex_with_buffer_provider,
561-
try_new_non_complex_unstable,
559+
new_for_non_complex_scripts: skip,
560+
try_new_for_non_complex_scripts_with_buffer_provider,
561+
try_new_for_non_complex_scripts_unstable,
562562
Self,
563563
]
564564
);
565565

566-
#[doc = icu_provider::gen_buffer_unstable_docs!(UNSTABLE, Self::new_non_complex)]
567-
pub fn try_new_non_complex_unstable<D>(
566+
#[doc = icu_provider::gen_buffer_unstable_docs!(UNSTABLE, Self::new_for_non_complex_scripts)]
567+
pub fn try_new_for_non_complex_scripts_unstable<D>(
568568
provider: &D,
569569
options: LineBreakOptions,
570570
) -> Result<Self, DataError>

components/segmenter/src/word.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ impl WordSegmenter {
538538
///
539539
/// [📚 Help choosing a constructor](icu_provider::constructors)
540540
#[cfg(feature = "compiled_data")]
541-
pub const fn new_non_complex(
541+
pub const fn new_for_non_complex_scripts(
542542
_options: WordBreakInvariantOptions,
543543
) -> WordSegmenterBorrowed<'static> {
544544
WordSegmenterBorrowed {
@@ -551,15 +551,15 @@ impl WordSegmenter {
551551
icu_provider::gen_buffer_data_constructors!(
552552
(options: WordBreakOptions) -> error: DataError,
553553
functions: [
554-
try_new_non_complex,
555-
try_new_non_complex_with_buffer_provider,
556-
try_new_non_complex_unstable,
554+
try_new_for_non_complex_scripts,
555+
try_new_for_non_complex_scripts_with_buffer_provider,
556+
try_new_for_non_complex_scripts_unstable,
557557
Self
558558
]
559559
);
560560

561-
#[doc = icu_provider::gen_buffer_unstable_docs!(UNSTABLE, Self::new_non_complex)]
562-
pub fn try_new_non_complex_unstable<D>(
561+
#[doc = icu_provider::gen_buffer_unstable_docs!(UNSTABLE, Self::new_for_non_complex_scripts)]
562+
pub fn try_new_for_non_complex_scripts_unstable<D>(
563563
provider: &D,
564564
options: WordBreakOptions,
565565
) -> Result<Self, DataError>

ffi/capi/bindings/c/LineSegmenter.h

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ffi/capi/bindings/c/WordSegmenter.h

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ffi/capi/bindings/cpp/icu4x/LineSegmenter.d.hpp

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ffi/capi/bindings/cpp/icu4x/LineSegmenter.hpp

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ffi/capi/bindings/cpp/icu4x/WordSegmenter.d.hpp

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)