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

refactor: remove S generic from InMemoryNode and ForkStorage #494

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

itegulov
Copy link
Contributor

What 💻

Closes #493

This generic hasn't been useful for quite some time (effectively does nothing as its functionality was moved to fork_source: Box<dyn ForkSource + Send + Sync> in ForkDetails). This is a good opportunity to simplify our code as this generic appears all over the place without being needed.

Why ✋

Dead code

@itegulov itegulov requested a review from a team as a code owner December 16, 2024 07:50
Copy link
Member

@popzxc popzxc left a comment

Choose a reason for hiding this comment

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

Nice!

@itegulov itegulov merged commit 2033e3c into main Dec 16, 2024
13 checks passed
@itegulov itegulov deleted the daniyar/refactor/no-fork-generic branch December 16, 2024 08:07
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.

refactor: get rid of ForkSource generic
2 participants