Skip to content

Implement profile avatar retention - #180

Merged
rubdos merged 1 commit into
masterfrom
avatar-retention
Nov 13, 2022
Merged

Implement profile avatar retention#180
rubdos merged 1 commit into
masterfrom
avatar-retention

Conversation

@rubdos

@rubdos rubdos commented Nov 11, 2022

Copy link
Copy Markdown
Member

Will test now.

@rubdos

rubdos commented Nov 11, 2022

Copy link
Copy Markdown
Member Author

This only works after Rust 1.53, so I'm desugaring the or-patterns for now.

@rubdos

rubdos commented Nov 11, 2022

Copy link
Copy Markdown
Member Author

This seems to work well.

@rubdos
rubdos requested a review from gferon November 11, 2022 09:32

@gferon gferon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM! I'm only starting to think that we should think twice before adding more primitive arguments to our function and maybe introduce types so we can add variants later, but here it's perfectly fine 👍🏼🥳

@rubdos

rubdos commented Nov 13, 2022

Copy link
Copy Markdown
Member Author

LGTM! I'm only starting to think that we should think twice before adding more primitive arguments to our function and maybe introduce types so we can add variants later, but here it's perfectly fine 👍🏼partying_face

I agree. In this case, it makes the methods very Rusty, I feel.

@rubdos
rubdos merged commit 43e0073 into master Nov 13, 2022
@rubdos
rubdos deleted the avatar-retention branch November 13, 2022 09:57
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