Skip to content

feat: impl Default for &Value #1265

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

Merged
merged 1 commit into from
Jul 31, 2025
Merged

feat: impl Default for &Value #1265

merged 1 commit into from
Jul 31, 2025

Conversation

aatifsyed
Copy link
Contributor

A rounded edge for:

let val: Value;
val.pointer("/foo).unwrap_or_default()

Obviously not required.

@aatifsyed
Copy link
Contributor Author

@dtolnay feel free to close this as WONTFIX :)

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dtolnay dtolnay merged commit 84abbdb into serde-rs:master Jul 31, 2025
16 checks passed
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.

2 participants