You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the readme is right when it claims that "insertion order is maintained" only when there is no conflict or the conflict in file2 is the last item in file1, which is to say it's mostly wrong actually.
This crate as of version 0.3.0 has been upgraded to edition 2021, dependencies updated, code/comments/etc revamped, the merge_hashes method has been moved to a function due to clippy's only_used_in_recursion lint, and its Yaml::Hash.insert approach has been modified to use the entry().and_modify().or_insert_with() pattern which should resolve this issue.
@xphoniex If you're still around and able to test this and confirm it resolves, please do and lmk!
File 1:
File 2:
Result:
whereas I expected it to keep the order.
The text was updated successfully, but these errors were encountered: