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

fix: Array patching algorithm #352

Conversation

taorepoara
Copy link
Member

@taorepoara taorepoara commented Jan 29, 2025

About this PR

Closes #351

Technical highlight/advice

The algorithm was good, but badly implemented ^^

I add many unit tests to cover more use cases.

How to test my changes

Run the unit tests: cargo test

Checklist

  • I didn't over-scope my PR
  • My PR title matches the commit convention
  • I did not include breaking changes
  • I made my own code-review before requesting one

I included unit tests that cover my changes

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

I added/updated the documentation about my changes

  • 📜 README.md
  • 📕 docs/*.md
  • 🧬 docs/dofigen.schema.json
  • 📓 docs.dofigen.io
  • 🙅 no documentation needed

@taorepoara taorepoara linked an issue Jan 29, 2025 that may be closed by this pull request
@taorepoara taorepoara marked this pull request as ready for review January 30, 2025 16:30
@taorepoara taorepoara merged commit b6ef0d3 into main Jan 30, 2025
15 checks passed
@taorepoara taorepoara deleted the 351-bug-vec-patch-replacing-element-based-on-position-not-working branch January 30, 2025 17:40
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.

[Bug]: Vec patch replacing element based on position not working
1 participant