mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-30 10:13:56 +01:00
Two files conflicted. Both are the same story: main's strict Clippy refactor (#2711) reworked the code the branch sits in. - paste_special.rs: main moved the `shift` closure out to the top of the function and extracted the operations helpers, so the branch's old copy of the whole paste block collided with the new shape. Took main's version of the file and re-applied the branch's one change on top of it: a transposed paste calls `transpose_relative(e, sc, dest)` where an ordinary paste still shifts. `git diff origin/main` on that file is now exactly that single hunk. - tests.rs: main converted the suite from `unwrap()` to returning `Result` and `?`; `copy_transpose` is written in that style too.