jj/lib
Martin von Zweigbergk 8826639e4e working copy: remove reference from locked instance to base instance
It's going to be easier to define a `LockedWorkingCopy` trait if it
doesn't need to borrow from `WorkingCopy`, so let's remove the
reference we currently have and have
`LockedLocalWorkingCopy::finish()` return the new `LocalWorkingCopy`
instead.

I think the main disadvantage is that we now have to remember to
replace the old `LocalWorkingCopy` instance by the new one, whereas
the compiler would remind us before this commit. We could make
`start_modification()` take an owned `self`, but that would be a bit
annoying to work with when we have the instance stored in a field.
2023-10-15 15:59:49 -07:00
..
benches
gen-protos
src working copy: remove reference from locked instance to base instance 2023-10-15 15:59:49 -07:00
tests working copy: remove reference from locked instance to base instance 2023-10-15 15:59:49 -07:00
testutils workspace: replace working_copy_mut() by wrapper type 2023-10-15 15:59:49 -07:00
Cargo.toml backend: make read functions async 2023-10-08 23:36:49 -07:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00