@@ -12,8 +12,8 @@ use std::default::Default;
12
12
use std:: fmt;
13
13
14
14
use fluent_syntax:: ast;
15
+ use icu_locid:: LanguageIdentifier ;
15
16
use intl_memoizer:: IntlLangMemoizer ;
16
- use unic_langid:: LanguageIdentifier ;
17
17
18
18
use crate :: args:: FluentArgs ;
19
19
use crate :: entry:: Entry ;
@@ -32,7 +32,7 @@ use crate::types::FluentValue;
32
32
///
33
33
/// ```
34
34
/// use fluent_bundle::{FluentBundle, FluentResource, FluentValue, FluentArgs};
35
- /// use unic_langid ::langid;
35
+ /// use icu_locid ::langid;
36
36
///
37
37
/// // 1. Create a FluentResource
38
38
///
@@ -163,7 +163,7 @@ impl<R, M> FluentBundle<R, M> {
163
163
///
164
164
/// ```
165
165
/// use fluent_bundle::{FluentBundle, FluentResource};
166
- /// use unic_langid ::langid;
166
+ /// use icu_locid ::langid;
167
167
///
168
168
/// let ftl_string = String::from("
169
169
/// hello = Hi!
@@ -253,7 +253,7 @@ impl<R, M> FluentBundle<R, M> {
253
253
///
254
254
/// ```
255
255
/// use fluent_bundle::{FluentBundle, FluentResource};
256
- /// use unic_langid ::langid;
256
+ /// use icu_locid ::langid;
257
257
///
258
258
/// let ftl_string = String::from("
259
259
/// hello = Hi!
@@ -359,7 +359,7 @@ impl<R, M> FluentBundle<R, M> {
359
359
///
360
360
/// ```
361
361
/// use fluent_bundle::{FluentBundle, FluentResource};
362
- /// use unic_langid ::langid;
362
+ /// use icu_locid ::langid;
363
363
///
364
364
/// let ftl_string = String::from("hello = Hi!");
365
365
/// let resource = FluentResource::try_new(ftl_string)
@@ -384,7 +384,7 @@ impl<R, M> FluentBundle<R, M> {
384
384
///
385
385
/// ```
386
386
/// use fluent_bundle::{FluentBundle, FluentResource};
387
- /// use unic_langid ::langid;
387
+ /// use icu_locid ::langid;
388
388
///
389
389
/// let ftl_string = String::from("hello-world = Hello World!");
390
390
/// let resource = FluentResource::try_new(ftl_string)
@@ -412,7 +412,7 @@ impl<R, M> FluentBundle<R, M> {
412
412
///
413
413
/// ```
414
414
/// use fluent_bundle::{FluentBundle, FluentResource};
415
- /// use unic_langid ::langid;
415
+ /// use icu_locid ::langid;
416
416
///
417
417
/// let ftl_string = String::from("hello-world = Hello World!");
418
418
/// let resource = FluentResource::try_new(ftl_string)
@@ -459,7 +459,7 @@ impl<R, M> FluentBundle<R, M> {
459
459
///
460
460
/// ```
461
461
/// use fluent_bundle::{FluentBundle, FluentResource};
462
- /// use unic_langid ::langid;
462
+ /// use icu_locid ::langid;
463
463
///
464
464
/// let ftl_string = String::from("hello-world = Hello World!");
465
465
/// let resource = FluentResource::try_new(ftl_string)
@@ -508,7 +508,7 @@ impl<R, M> FluentBundle<R, M> {
508
508
///
509
509
/// ```
510
510
/// use fluent_bundle::{FluentBundle, FluentResource, FluentValue};
511
- /// use unic_langid ::langid;
511
+ /// use icu_locid ::langid;
512
512
///
513
513
/// let ftl_string = String::from("length = { STRLEN(\"12345\") }");
514
514
/// let resource = FluentResource::try_new(ftl_string)
@@ -567,7 +567,7 @@ impl<R> FluentBundle<R, IntlLangMemoizer> {
567
567
/// ```
568
568
/// use fluent_bundle::FluentBundle;
569
569
/// use fluent_bundle::FluentResource;
570
- /// use unic_langid ::langid;
570
+ /// use icu_locid ::langid;
571
571
///
572
572
/// let langid_en = langid!("en-US");
573
573
/// let mut bundle: FluentBundle<FluentResource> = FluentBundle::new(vec![langid_en]);
0 commit comments