Skip to content

Tweaks from derived clap parser review - #3834

Merged
djc merged 17 commits into
masterfrom
derive-tweaks
May 17, 2024
Merged

Tweaks from derived clap parser review#3834
djc merged 17 commits into
masterfrom
derive-tweaks

Conversation

@djc

@djcdjc commented May 16, 2024

Copy link
Copy Markdown
Contributor

Follow-up from #3596. I think none of this is really things that originated in that PR, just trying to improve the codebase as I notice stuff.

@djc
djc requested a review from rami3lMay 16, 2024 21:10
Ok(utils::ExitCode(0))
}

#[cfg_attr(feature = "otel", tracing::instrument(skip_all))]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A question for @rbtcollins: when do we decide that we need to instrument a function?

@rami3lrami3l left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you so much for the work! I do think this has addressed many concerns I have had in terms of code readability :)

PS: There seems to be some comptime errors to be addressed, but this doesn't influence my approval.

@djc
djc enabled auto-merge May 17, 2024 10:36
@djc
djc added this pull request to the merge queue May 17, 2024
Merged via the queue into master with commit c268254May 17, 2024
@djc
djc deleted the derive-tweaks branch May 17, 2024 11:07
@rami3lrami3l added this to the 1.28.0 milestone Jun 9, 2024
Sign up for freeto 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

@djc@rami3l