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

Simplify make-key #58

Closed
bdarcus opened this issue Jun 9, 2023 · 0 comments
Closed

Simplify make-key #58

bdarcus opened this issue Jun 9, 2023 · 0 comments

Comments

@bdarcus
Copy link
Owner

bdarcus commented Jun 9, 2023

No need for this here; just pass the enum option directly:

csln/processor/src/lib.rs

Lines 509 to 512 in 3864544

.map(|key| match key {
SortGroupKey::Author => "author",
SortGroupKey::Year => "year",
SortGroupKey::Title => "title",

bdarcus added a commit that referenced this issue Jun 13, 2023
Provides no benefit.

Close: #58

Signed-off-by: Bruce D'Arcus <bdarcus@gmail.com>
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

No branches or pull requests

1 participant