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

[feat] add shrink_to_fit() to Sender<T> and Receiver<T> #147

Closed
wants to merge 1 commit into from

Conversation

rakbladsvalsen
Copy link

Fixes #146

@rakbladsvalsen
Copy link
Author

rakbladsvalsen commented May 3, 2024

Note: I ran cargo fmt on the entire repo, so it might look like I made a lot of changes but I actually only added a few lines of code.
Clippy is also complaining but I didn't bother fixing the clippy warnings.

@zesterer
Copy link
Owner

zesterer commented May 7, 2024

Note: I ran cargo fmt on the entire repo

This is unfortunate and makes it quite difficult to review this PR. Did you have the relevant changes in isolation?

@rakbladsvalsen
Copy link
Author

This is unfortunate and makes it quite difficult to review this PR. Did you have the relevant changes in isolation?

Yeah, I'll close this PR and create another one with only the relevant changes.

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.

Memory leak in unbounded channels
2 participants