Removed the get_cause function since it is redundant.
This commit is contained in:
@ -7,7 +7,7 @@ use binding::CInt;
|
||||
/// This can be used for clearing an error.
|
||||
pub const NO_ERROR: CInt = 0;
|
||||
|
||||
/// Include the generated C error values.
|
||||
// Include the generated C error values.
|
||||
include!(concat!(env!("OUT_DIR"), "/errno_values.rs"));
|
||||
|
||||
|
||||
@ -157,11 +157,6 @@ impl Error for CError
|
||||
{ "Detected an Error not handled by CError" }
|
||||
}
|
||||
}
|
||||
|
||||
fn get_cause(&self) -> Option<&Error>
|
||||
{
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user