mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 09:03:37 +08:00
cfdcaf880f
This makes some simplifications to scoped_push and ScopeGuard: 1. ScopeGuard no longer uses ManuallyDrop; the memory management is now trivial and no longer requires `unsafe`. 2. The functions `cancel` and `rollback` have been removed, as these were unused. They can be added back later if needed. 3. `scoped_push` has been simplified in both signature and implementation. 4. `Projection` is no longer required and has been removed. Also add some tests. |
||
---|---|---|
.. | ||
src | ||
widestring-suffix | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml |