Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the sealed CollapsePrivate trait public again #265

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

str4d
Copy link
Contributor

@str4d str4d commented Sep 28, 2022

It needs to be in the public API due to the blanket implementation of Collapse for T: CollapsePrivate. The inferno::collapse::common module is crate-private, ensuring that CollapsePrivate and Occurrences cannot be named by downstream library users.

Closes #264.

It needs to be in the public API due to the blanket implementation of
`Collapse` for `T: CollapsePrivate`. The `inferno::collapse::common`
module is crate-private, ensuring that `CollapsePrivate` and
`Occurrences` cannot be named by downstream library users.

Closes jonhoo#264.
Copy link
Owner

@jonhoo jonhoo left a comment

Choose a reason for hiding this comment

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

Ah, yes, thanks for reporting and fixing! Seems I got a bit overly eager on that cleanup. Will release shortly.

@codecov
Copy link

codecov bot commented Sep 29, 2022

Codecov Report

Base: 90.21% // Head: 90.21% // No change to project coverage 👍

Coverage data is based on head (710584b) compared to base (899e42f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #265   +/-   ##
=======================================
  Coverage   90.21%   90.21%           
=======================================
  Files          19       19           
  Lines        4179     4179           
=======================================
  Hits         3770     3770           
  Misses        409      409           
Impacted Files Coverage Δ
src/collapse/common.rs 66.66% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jonhoo jonhoo merged commit 635527c into jonhoo:main Sep 29, 2022
@jonhoo
Copy link
Owner

jonhoo commented Sep 29, 2022

Released as 0.11.9 🎉

@str4d str4d deleted the 264-republish-sealed-trait branch October 28, 2022 08:32
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.

inferno 0.11.8 removed sealed CollapsePrivate trait from public API
2 participants