Rename internal enum to make less confusing

This commit is contained in:
Lachlan Sneff
2019-04-22 15:36:47 -07:00
parent aa9cd84085
commit 14325c975e
5 changed files with 21 additions and 18 deletions

View File

@ -230,8 +230,8 @@ impl RunnableModule for X64ExecutionContext {
}
Err(err) => {
match err {
protect_unix::RunErr::Trap(info) => *trap_info = info,
protect_unix::RunErr::Error(data) => *user_error = Some(data),
protect_unix::CallProtError::Trap(info) => *trap_info = info,
protect_unix::CallProtError::Error(data) => *user_error = Some(data),
}
false
}