about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2025-02-25 13:07:38 +0100
committerGitHub <noreply@github.com>2025-02-25 13:07:38 +0100
commitc8741c60cd46afdb2a9f460db15007777538dc45 (patch)
treed6418a19346b68a973edafb6a2bf41af9c0f86b2
parent8462d56fc1b2fe283322b484f6f0d3a30c3eb248 (diff)
parent7a60c49c649a91e47ee3e093d3bff95847e5cf4c (diff)
downloadrust-c8741c60cd46afdb2a9f460db15007777538dc45.tar.gz
rust-c8741c60cd46afdb2a9f460db15007777538dc45.zip
Rollup merge of #137576 - goffrie:setvalzst, r=lcnr
Don't doc-comment BTreeMap<K, SetValZST, A>

This otherwise shows up in documentation as an empty impl block (worse, at the *top* of the docs above the public impls).
-rw-r--r--library/alloc/src/collections/btree/map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/btree/map.rs b/library/alloc/src/collections/btree/map.rs
index 6d305386dbf..78b7da9d6b3 100644
--- a/library/alloc/src/collections/btree/map.rs
+++ b/library/alloc/src/collections/btree/map.rs
@@ -289,7 +289,7 @@ impl<K: Clone, V: Clone, A: Allocator + Clone> Clone for BTreeMap<K, V, A> {
     }
 }
 
-/// Internal functionality for `BTreeSet`.
+// Internal functionality for `BTreeSet`.
 impl<K, A: Allocator + Clone> BTreeMap<K, SetValZST, A> {
     pub(super) fn replace(&mut self, key: K) -> Option<K>
     where