Skip to content

Implement (back) ToJson on &[T] #14619

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

Closed
SimonSapin opened this issue Jun 3, 2014 · 1 comment
Closed

Implement (back) ToJson on &[T] #14619

SimonSapin opened this issue Jun 3, 2014 · 1 comment

Comments

@SimonSapin
Copy link
Contributor

The ToJson trait has implementations for ~[T] and Vec<T>, but not &[T]. I suppose it was accidentally removed at some point. Please bring it back. (The implementation should be identical to the other two.)

@japaric
Copy link
Member

japaric commented Jun 3, 2014

I have implemented this locally, I'll add some test and send a PR.

@bors bors closed this as completed in a413d00 Jun 3, 2014
bors added a commit to rust-lang-ci/rust that referenced this issue Jun 5, 2023
Fix need-mut large span in closures and a false positive

fix rust-lang#14612
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

2 participants