Skip to content

Commit

Permalink
Remove copypaste from docs of VecDeque and HashSet
Browse files Browse the repository at this point in the history
Seems that docs were copied from `HashMap`, I made it more appropriate to the actual types.
  • Loading branch information
AngelicosPhosphoros authored and udoprog committed Sep 21, 2024
1 parent 0c3e5b1 commit 5c7d32a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/rune/src/modules/collections/hash_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,8 @@ impl HashSet {

/// Convert a [`HashSet`] from an iterator.
///
/// The hashmap can be converted from anything that implements the
/// [`INTO_ITER`] protocol, and each item produces should be a tuple pair.
/// The hashset can be converted from anything that implements the
/// [`INTO_ITER`] protocol.
///
/// # Examples
///
Expand Down
4 changes: 2 additions & 2 deletions crates/rune/src/modules/collections/vec_deque.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ impl VecDeque {

/// Build a [`VecDeque`] from an iterator.
///
/// The hashmap can be converted from anything that implements the
/// [`INTO_ITER`] protocol, and each item produces should be a tuple pair.
/// The vecdeque can be converted from anything that implements the
/// [`INTO_ITER`] protocol.
///
/// # Examples
///
Expand Down

0 comments on commit 5c7d32a

Please sign in to comment.