run rustfmt
This commit is contained in:
@@ -134,7 +134,7 @@ pub fn index_static_strings(instruction_rs_path: &std::path::Path) -> TokenStrea
|
||||
Ok(s) => s,
|
||||
Err(e) => {
|
||||
println!("cargo::warning=parse error: {e} in file {path:?}");
|
||||
syn::File{
|
||||
syn::File {
|
||||
shebang: None,
|
||||
attrs: vec![],
|
||||
items: vec![],
|
||||
|
||||
@@ -184,7 +184,7 @@ impl IndexMut<RegType> for MachineState {
|
||||
}
|
||||
}
|
||||
|
||||
pub type CallResult<Ok=()> = Result<Ok, Vec<FunctorElement>>;
|
||||
pub type CallResult<Ok = ()> = Result<Ok, Vec<FunctorElement>>;
|
||||
|
||||
// size may be an upper bound.
|
||||
// true_size is calculated to compute the exact offset.
|
||||
|
||||
@@ -284,8 +284,6 @@ fn ffi_cstr() {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(miri, ignore = "ffi")]
|
||||
fn ffi_heap() {
|
||||
|
||||
Reference in New Issue
Block a user