1
Fork 0

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).
This commit is contained in:
León Orell Valerian Liehr 2025-02-25 13:07:38 +01:00 committed by GitHub
commit c8741c60cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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> { impl<K, A: Allocator + Clone> BTreeMap<K, SetValZST, A> {
pub(super) fn replace(&mut self, key: K) -> Option<K> pub(super) fn replace(&mut self, key: K) -> Option<K>
where where