Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Oct 7, 2022
1 parent 287c84b commit 1897186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/litemap/src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ where
K: Ord,
S: StoreSlice<K, V>,
{
/// Creates a new [`LiteMap`] from a range of the current [`LiteMap`].
/// Creates a new [`LiteMap`] borrowed from a range of the current [`LiteMap`].
///
/// # Examples
///
Expand All @@ -230,7 +230,7 @@ where
})
}

/// Borrows this [`LiteMap`] as one of its slice type.
/// Creates a new [`LiteMap`] that borrows from the current [`LiteMap`].
///
/// This can be useful in situations where you need a `LiteMap` by value but do not want
/// to clone the owned version.
Expand Down

0 comments on commit 1897186

Please sign in to comment.