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

Trait Write is not implemented for Cursor<Vec<u8>> and Cursor<&mut Vec<u8>> #27

Open
overcat opened this issue Sep 11, 2024 · 1 comment

Comments

@overcat
Copy link

overcat commented Sep 11, 2024

Currently, trait Write is not implemented for Cursor<Vec<u8>> in cursor.rs. However, the standard library includes it. Is there a specific reason why this library doesn't support it?

If possible, can we add this implementation?

impl Write for Cursor<Vec<u8>> {
    // todo
}
@overcat
Copy link
Author

overcat commented Sep 11, 2024

Hi @bbqsrc, if possible, I'd be happy to contribute this implementation.

@overcat overcat changed the title Trait Write is not implemented for Cursor<Vec<u8>> Trait Write is not implemented for Cursor<Vec<u8>> and Cursor<&mut Vec<u8>> Sep 11, 2024
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

No branches or pull requests

1 participant