Skip to content

Conversation

@oldaccountdeadname
Copy link

Similarly to or for Rust's options, this patch provides a way to 'override' the value of a Yaml node if it's some form of error.

It's a pretty small patch: if this type of albeit trivial manipulation is beyond the scope of the library, feel free not to merge! Thanks!

Similarly to `or` for Rust's options, this patch provides a way to
'override' the value of a Yaml node if it's some form of error.
@oldaccountdeadname
Copy link
Author

looks like checks are failing --- tests pass on my machine, so I'm not entirely sure what's going on there. Looking at the logs, it looks like the windows-gnu builds are failing due to a missing mingw build, though I'm not familiar with this CI system and don't really know how to fix that.

Allow the usage of `or` without consuming self. This can be useful
for pipelines that maintain some sort of owned state.
@davvid
Copy link

davvid commented Jan 29, 2024

FWIW I've merged this into my fork: https://github.com/davvid/yaml-rust/

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.

2 participants