From 5c7d32a7ec0a367609fcdf96d5960de4e58d1553 Mon Sep 17 00:00:00 2001 From: AngelicosPhosphoros Date: Sat, 21 Sep 2024 03:49:25 +0200 Subject: [PATCH] Remove copypaste from docs of `VecDeque` and `HashSet` Seems that docs were copied from `HashMap`, I made it more appropriate to the actual types. --- crates/rune/src/modules/collections/hash_set.rs | 4 ++-- crates/rune/src/modules/collections/vec_deque.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/rune/src/modules/collections/hash_set.rs b/crates/rune/src/modules/collections/hash_set.rs index 3f6ecb368..971b97d18 100644 --- a/crates/rune/src/modules/collections/hash_set.rs +++ b/crates/rune/src/modules/collections/hash_set.rs @@ -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 /// diff --git a/crates/rune/src/modules/collections/vec_deque.rs b/crates/rune/src/modules/collections/vec_deque.rs index 5c20bfbab..856beb17c 100644 --- a/crates/rune/src/modules/collections/vec_deque.rs +++ b/crates/rune/src/modules/collections/vec_deque.rs @@ -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 ///