Run rustfmt (Rust 1.31.1)

This commit is contained in:
Oliver Hamlet
2018-12-22 22:50:16 +00:00
parent 5e1ba5709b
commit 9ef82fe886
6 changed files with 128 additions and 106 deletions
+6 -3
View File
@@ -38,7 +38,8 @@ pub unsafe extern "C" fn lci_condition_parse(condition: *const c_char) -> c_int
LCI_OK
}
}
}).unwrap_or(LCI_ERROR_PANICKED)
})
.unwrap_or(LCI_ERROR_PANICKED)
}
#[no_mangle]
@@ -71,7 +72,8 @@ pub unsafe extern "C" fn lci_condition_eval(
Err(e) => handle_error(e),
}
}
}).unwrap_or(LCI_ERROR_PANICKED)
})
.unwrap_or(LCI_ERROR_PANICKED)
}
#[no_mangle]
@@ -90,5 +92,6 @@ pub unsafe extern "C" fn lci_get_error_message(message: *mut *const c_char) -> c
LCI_OK
}
}).unwrap_or(LCI_ERROR_PANICKED)
})
.unwrap_or(LCI_ERROR_PANICKED)
}