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

Support deserializing map key as &RawValue #851

Merged
merged 2 commits into from Jan 22, 2022
Merged

Support deserializing map key as &RawValue #851

merged 2 commits into from Jan 22, 2022

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Jan 22, 2022

No description provided.

dtolnay added 2 commits Jan 22, 2022
Currently fails with:

    ---- test_raw_value_in_map_key stdout ----
    thread 'test_borrowed_raw_value' panicked at 'called `Result::unwrap()`
    on an `Err` value: Error("invalid type: newtype struct, expected any
    valid JSON value", line: 1, column: 2)', tests/test.rs:2230:52
@dtolnay dtolnay merged commit cbb0342 into master Jan 22, 2022
30 checks passed
@dtolnay dtolnay deleted the rawkey branch Jan 22, 2022
@jplatte
Copy link
Contributor

jplatte commented Jan 24, 2022

This also affects Box<RawValue>, correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants