helix/helix-term
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 minor: Fix native line-ending handling in trimming integration tests 2025-03-10 11:09:46 -04:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
Cargo.toml build(deps): bump libc in the rust-dependencies group (#13389) 2025-04-22 15:10:48 +09:00
build.rs chore: clean up clippy lints (#11377) 2024-08-01 06:39:46 +09:00