helix/helix-view
Michael Davis 3d8a63e072
minimize diff
A few edits here to minimize the overall (squashed) diff:

* Minimize borrow-checker-satisfying changes in write_impl,
  write_all_impl. We just need to "refresh" the bindings of `doc` and
  `view` It's nice to avoid extra blocks for the `&mut` bindings since
  they unnecessarily add indentation/nesting.
* Factor out the `Result<Vec<_>, _>` early in `Document::format`: this
  avoids changing the indentation for the rest of the block.

With these changes the stat (git diff --stat 9f3b193743) lowers from
+128,-82 to +51,-10.

Also there's a style change here to prefer `use`-ing the
`crate::expansion` module so it's clearer where the `expand` function
comes from.
2025-04-28 18:17:35 -04:00
..
src minimize diff 2025-04-28 18:17:35 -04:00
tests/encoding Re-vendor encoding_rs test data 2024-11-13 15:30:17 +09:00
Cargo.toml minor: Use a workspace dependency for parking_lot 2025-03-13 12:34:40 -04:00