Skip to content

Commit

Permalink
Fix cargo doc warnings.
Browse files Browse the repository at this point in the history
This also fixes 2 typos that are in the same lines being modified.
  • Loading branch information
waywardmonkeys committed Sep 3, 2023
1 parent a2cef6b commit 678f910
Showing 1 changed file with 10 additions and 10 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

0 comments on commit 678f910

Please sign in to comment.