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

MOD-8036 move AddACLCategory to redismodule-rs #394

Merged

Conversation

ephraimfeldblum
Copy link
Contributor

No description provided.

src/macros.rs Outdated
acl_categories.as_ptr(),
)
} == $crate::raw::Status::Err as c_int
if $crate::raw::RedisModule_SetCommandACLCategories.is_some()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like a candidate of the if let some and else?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure. however that necessitates an if within an if as the resulting Some value will not be usable within the condition of the if it was generated from.

@ephraimfeldblum ephraimfeldblum changed the title move AddACLCategory to redismodule-rs MOD-8036 move AddACLCategory to redismodule-rs Nov 3, 2024
@ephraimfeldblum ephraimfeldblum merged commit ef0ad59 into master Nov 3, 2024
16 checks passed
@ephraimfeldblum ephraimfeldblum deleted the ephraim_move-`AddACLCategory`-to-`redismodule-rs` branch November 3, 2024 09:46
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.

3 participants