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

Json doesn't need to depend on IoError to implement Encodable #13230

Merged
merged 1 commit into from
Mar 31, 2014

Conversation

Kroisse
Copy link
Contributor

@Kroisse Kroisse commented Mar 31, 2014

The implementation of Encodable<E, S> for Json doesn't need to assume S to be IoError, only the default encoders for Json are depend on it. So this can be parametrize to increase flexiblity. If not, types that implement Encoder<E> where E is not IoError can't be worked with Json.

bors added a commit that referenced this pull request Mar 31, 2014
The implementation of `Encodable<E, S>` for `Json` doesn't need to assume `S` to be `IoError`, only the default encoders for `Json` are depend on it. So this can be parametrize to increase flexiblity. If not, types that implement `Encoder<E>` where `E` is not `IoError` can't be worked with `Json`.
@bors bors closed this Mar 31, 2014
@bors bors merged commit 2deca58 into rust-lang:master Mar 31, 2014
@Kroisse Kroisse deleted the encodable-json branch April 1, 2014 02:04
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 5, 2023
…osure, r=Veykril

Convert nested function to closure assist

Continuation of / closes rust-lang#13467.
Resolves rust-lang#13230.

r? `@Veykril`
Jarcho pushed a commit to Jarcho/rust that referenced this pull request Aug 24, 2024
Add a test for ice-3717.rs

this PR is a part of rust-lang/rust-clippy#13099.

Based on the changes introduced in rust-lang#13098 for introduce ui_test, we will update the uitest output.
This is a fix for `ice-3717.rs`.

Although fixes have already been made in rust-lang#13216, it seems that he is a first-time contributor.
I thought it might be better for him to refer to my PR, so I created it accordingly.

Since this is my first contribution in a while, please let me know if there are any issues or required changes.

changelog: none

r! `@flip1995`
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