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

Add retain method #160

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add retain method #160

wants to merge 3 commits into from

Conversation

Rexagon
Copy link

@Rexagon Rexagon commented Nov 5, 2021

In some cases you want to filter all cache entries with some function, so maybe this impl will help do it more optimally

@Rexagon Rexagon requested a review from a team as a code owner November 5, 2021 18:12
@0xdeafbeef
Copy link

@bochaco @dirvine sorry, can you review this?

src/lib.rs Outdated Show resolved Hide resolved
@dirvine
Copy link
Member

dirvine commented Feb 13, 2022

We tend to be explicit. If you don't mind can you import the whole Entry type and we are good to go. sorry, but we are pushing consistency. It's a niggle and I apologize. We can get this in today if that's OK.

dirvine
dirvine previously approved these changes Feb 13, 2022
Copy link
Member

@dirvine dirvine left a comment

Choose a reason for hiding this comment

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

LGTM Thanks very much for the effort and me being pedantic. Great stuff

@Rexagon
Copy link
Author

Rexagon commented Apr 29, 2022

Hi! Is it possible to merge this? Fixed clippy warnings just in case (though they are not related to this commit)

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.

None yet

3 participants