altsem / gitu

A TUI Git client inspired by Magit
MIT License
1.7k stars 88 forks source link

refactor: remove the 'Op' enum #82

Closed altsem closed 4 months ago

altsem commented 4 months ago

Tried to map directly to trait objects in the src/keybinds.rs module. This gets rid of the indirection of having an enum of all the Ops.

I'm doing something wrong...

error[E0391]: cycle detected when computing the inferred outlives predicates for items in this crate