Format code using 'cargo fmt'

This commit is contained in:
Atul Bhosale
2019-08-17 21:48:01 +05:30
parent 65ae47fbf8
commit f286c631b9
3 changed files with 13 additions and 11 deletions

View File

@ -44,7 +44,9 @@ macro_rules! wand_common {
unsafe { ::bindings::$get_exc_type(self.wand) }
}
pub fn get_exception(&self) -> Result<(String, ::bindings::ExceptionType), &'static str> {
pub fn get_exception(
&self,
) -> Result<(String, ::bindings::ExceptionType), &'static str> {
let mut severity: ::bindings::ExceptionType =
::bindings::ExceptionType_UndefinedException;
// TODO: memory management