evenorog / undo

An undo-redo library.
https://docs.rs/undo
Apache License 2.0
50 stars 6 forks source link

Document difference to the redo crate #9

Closed lwiklendt closed 1 year ago

lwiklendt commented 3 years ago

It would be good if there were a couple of sentences in the documentation at the top-level on the differences between this crate and the redo crate, linking between the two crates. It seems the main difference lies within Record, where in the redo crate a Record owns a Target but in this create you pass in a &mut Target each time you call the apply, undo, or redo functions.