Skip to content

Conversation

@DaniPopes
Copy link
Member

Motivation

This is an unnecessary abstraction, and also all async commands do not implement it anyway.

Solution

Remove it and just have public run functions

@DaniPopes DaniPopes force-pushed the rm-cmd branch 2 times, most recently from 80716ee to d7ca338 Compare August 12, 2023 04:49
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

Yes, in retrospect, this abstraction was not necessary

needs rebase

Copy link
Member

@Evalir Evalir left a comment

Choose a reason for hiding this comment

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

nice. yeah, the cmd.run() pattern's pretty rad just doesn't need a trait.

@mattsse mattsse merged commit 4f661a9 into foundry-rs:master Aug 12, 2023
@DaniPopes DaniPopes deleted the rm-cmd branch August 12, 2023 19:45
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