mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 12:54:42 +00:00
ee3637216e
This commit introduces a new adaptor trait for SeekTarget that works around frustrating issues with lifetimes. It wraps the arguments in a newtype wrapper that lives on the stack to avoid the lifetime getting extended to the caller of the method. This allows us to introduce a PathSuccessor object that can be passed as the end argument of remove_between to remove a whole subtree. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |