Skip to content

Conversation

@clarfonthey
Copy link
Contributor

Also something useful for #666.

clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
src/raw/mod.rs Outdated
/// This does not check if the given bucket is actually occupied.
#[cfg_attr(feature = "inline-more", inline)]
pub unsafe fn replace_bucket_with<F>(&mut self, bucket: Bucket<T>, f: F) -> bool
pub(crate) unsafe fn replace_bucket_with<F>(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pub(crate) is required because MSRV currently will see this as leaking Tag in a public method, even though this method can only be used in the crate itself.

clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 2, 2025
clarfonthey added a commit to clarfonthey/hashbrown that referenced this pull request Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants