Skip to content

refactor: destructure squeue fields with a slice pattern - #73

Open
nikosavola wants to merge 1 commit into
karimknaebel:mainfrom
nikosavola:nikosavola/push-vyvmlpztpsss
Open

refactor: destructure squeue fields with a slice pattern#73
nikosavola wants to merge 1 commit into
karimknaebel:mainfrom
nikosavola:nikosavola/push-vyvmlpztpsss

Conversation

@nikosavola

Copy link
Copy Markdown
Contributor

Replace 19 hard-coded parts[i] indices in the squeue line parser with a single slice pattern that binds names and enforces arity together.

Using .to_string() instead of .to_owned() to go through double reference.

Replace 19 hard-coded `parts[i]` indices in the squeue line parser with a single slice pattern that binds names and enforces arity together
@nikosavola
nikosavola force-pushed the nikosavola/push-vyvmlpztpsss branch from 9c4faec to fe68d60 Compare July 28, 2026 14:49
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.

1 participant