diff options
author | Tim Oram <dev@mitmaro.ca> | 2020-09-17 10:45:49 -0230 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2020-09-17 22:01:14 -0230 |
commit | c6dbcc6017a7a1b343a585729239ad52ccb6ceba (patch) | |
tree | 5f27828bc435ef9eed85ebd835d55418985c07cb /src/main.rs | |
parent | 10d797ebf3910f45f6ed3cd01573e531f388f31d (diff) |
Move error handling to process module
The error handling module needed to have state provided to it from other
modules, which meant that the other modules needed to understand how the
error module worked. This was awkward and fragile. This moves the error
handling code into the process module and makes it a global system. This
has the advantage of not requiring tracking of the previous state and
allows for the removal of the HandleInputResult struct.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 3efe38b..fe59dbb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -34,7 +34,6 @@ mod confirm_rebase; mod constants; mod display; mod edit; -mod error; mod exiting; mod external_editor; mod git_interactive; |