Skip to content

Commit 58fb596

Browse files
Fix cargo doc warnings. (#326)
1 parent a69a7ab commit 58fb596

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

fluent-bundle/src/bundle.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ impl<R, M> FluentBundle<R, M> {
150150
/// existing key in the bundle, the new entry will be ignored and a
151151
/// `FluentError::Overriding` will be added to the result.
152152
///
153-
/// The method can take any type that can be borrowed to `FluentResource`:
154-
/// - FluentResource
155-
/// - &FluentResource
156-
/// - Rc<FluentResource>
157-
/// - Arc<FluentResurce>
153+
/// The method can take any type that can be borrowed to [`FluentResource`]:
154+
/// - `FluentResource`
155+
/// - `&FluentResource`
156+
/// - `Rc<FluentResource>`
157+
/// - `Arc<FluentResource>`
158158
///
159159
/// This allows the user to introduce custom resource management and share
160160
/// resources between instances of `FluentBundle`.
@@ -240,11 +240,11 @@ impl<R, M> FluentBundle<R, M> {
240240
/// If any entry in the resource uses the same identifier as an already
241241
/// existing key in the bundle, the entry will override the previous one.
242242
///
243-
/// The method can take any type that can be borrowed as FluentResource:
244-
/// - FluentResource
245-
/// - &FluentResource
246-
/// - Rc<FluentResource>
247-
/// - Arc<FluentResurce>
243+
/// The method can take any type that can be borrowed as [`FluentResource`]:
244+
/// - `FluentResource`
245+
/// - `&FluentResource`
246+
/// - `Rc<FluentResource>`
247+
/// - `Arc<FluentResource>`
248248
///
249249
/// This allows the user to introduce custom resource management and share
250250
/// resources between instances of `FluentBundle`.

fluent-bundle/src/concurrent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use crate::memoizer::MemoizerKind;
66
use crate::types::FluentType;
77

88
/// Specialized [`FluentBundle`](crate::bundle::FluentBundle) over
9-
/// concurrent [`IntlLangMemoizer`](intl_memoizer::concurrent::IntlLangMemoizer).
9+
/// concurrent [`IntlLangMemoizer`].
1010
///
1111
/// A concurrent `FluentBundle` can be constructed with the
1212
/// [`FluentBundle::new_concurrent`] method.

0 commit comments

Comments
 (0)