diff --git a/fluent-bundle/src/bundle.rs b/fluent-bundle/src/bundle.rs index d96c4545..75ec6a9f 100644 --- a/fluent-bundle/src/bundle.rs +++ b/fluent-bundle/src/bundle.rs @@ -150,11 +150,11 @@ impl FluentBundle { /// existing key in the bundle, the new entry will be ignored and a /// `FluentError::Overriding` will be added to the result. /// - /// The method can take any type that can be borrowed to `FluentResource`: - /// - FluentResource - /// - &FluentResource - /// - Rc - /// - Arc + /// The method can take any type that can be borrowed to [`FluentResource`]: + /// - `FluentResource` + /// - `&FluentResource` + /// - `Rc` + /// - `Arc` /// /// This allows the user to introduce custom resource management and share /// resources between instances of `FluentBundle`. @@ -240,11 +240,11 @@ impl FluentBundle { /// If any entry in the resource uses the same identifier as an already /// existing key in the bundle, the entry will override the previous one. /// - /// The method can take any type that can be borrowed as FluentResource: - /// - FluentResource - /// - &FluentResource - /// - Rc - /// - Arc + /// The method can take any type that can be borrowed as [`FluentResource`]: + /// - `FluentResource` + /// - `&FluentResource` + /// - `Rc` + /// - `Arc` /// /// This allows the user to introduce custom resource management and share /// resources between instances of `FluentBundle`. diff --git a/fluent-bundle/src/concurrent.rs b/fluent-bundle/src/concurrent.rs index 40a28945..76e0de44 100644 --- a/fluent-bundle/src/concurrent.rs +++ b/fluent-bundle/src/concurrent.rs @@ -6,7 +6,7 @@ use crate::memoizer::MemoizerKind; use crate::types::FluentType; /// Specialized [`FluentBundle`](crate::bundle::FluentBundle) over -/// concurrent [`IntlLangMemoizer`](intl_memoizer::concurrent::IntlLangMemoizer). +/// concurrent [`IntlLangMemoizer`]. /// /// A concurrent `FluentBundle` can be constructed with the /// [`FluentBundle::new_concurrent`] method.