mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Run rustfmt (Rust 1.31.1)
This commit is contained in:
+6
-3
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user