Skip to content

Commit

Permalink
Unrolled build for rust-lang#137576
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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).
  • Loading branch information
rust-timer authored Feb 25, 2025
2 parents 4ecd70d + 7a60c49 commit 2e70014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/collections/btree/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e70014

Please sign in to comment.