Skip to content

Commit

Permalink
Fix cargo doc warnings. (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Feb 5, 2024
1 parent a69a7ab commit 58fb596
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions fluent-bundle/src/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ impl<R, M> FluentBundle<R, M> {
/// 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<FluentResource>
/// - Arc<FluentResurce>
/// The method can take any type that can be borrowed to [`FluentResource`]:
/// - `FluentResource`
/// - `&FluentResource`
/// - `Rc<FluentResource>`
/// - `Arc<FluentResource>`
///
/// This allows the user to introduce custom resource management and share
/// resources between instances of `FluentBundle`.
Expand Down Expand Up @@ -240,11 +240,11 @@ impl<R, M> FluentBundle<R, M> {
/// 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<FluentResource>
/// - Arc<FluentResurce>
/// The method can take any type that can be borrowed as [`FluentResource`]:
/// - `FluentResource`
/// - `&FluentResource`
/// - `Rc<FluentResource>`
/// - `Arc<FluentResource>`
///
/// This allows the user to introduce custom resource management and share
/// resources between instances of `FluentBundle`.
Expand Down
2 changes: 1 addition & 1 deletion fluent-bundle/src/concurrent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 58fb596

Please sign in to comment.