Skip to content

Commit 7027fd8

Browse files
committed
cargo fmt
1 parent d7cdbdb commit 7027fd8

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

cranelift/codegen/src/ir/dfg.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use crate::ir::dynamic_type::{DynamicTypeData, DynamicTypes};
77
use crate::ir::instructions::{BranchInfo, CallInfo, InstructionData};
88
use crate::ir::{types, ConstantData, ConstantPool, Immediate};
99
use crate::ir::{
10-
Block, DynamicType, FuncRef, Inst, SigRef, Signature, Type, Value,
11-
ValueLabelAssignments, ValueList, ValueListPool,
10+
Block, DynamicType, FuncRef, Inst, SigRef, Signature, Type, Value, ValueLabelAssignments,
11+
ValueList, ValueListPool,
1212
};
1313
use crate::ir::{ExtFuncData, RelSourceLoc};
1414
use crate::packed_option::ReservedValue;

cranelift/codegen/src/isa/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ pub struct TargetFrontendConfig {
195195

196196
/// The pointer width of the target.
197197
pub pointer_width: PointerWidth,
198-
199198
}
200199

201200
impl TargetFrontendConfig {

cranelift/filetests/src/test_interpret.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ fn run_test(func_store: &FunctionStore, func: &Function, details: &Details) -> a
8383
.run(|func_name, run_args| {
8484
// Rebuild the interpreter state on every run to ensure that we don't accidentally depend on
8585
// some leftover state
86-
let state =
87-
InterpreterState::default().with_function_store(func_store.clone());
86+
let state = InterpreterState::default().with_function_store(func_store.clone());
8887

8988
let mut args = Vec::with_capacity(run_args.len());
9089
args.extend_from_slice(run_args);

cranelift/reader/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727

2828
pub use crate::error::{Location, ParseError, ParseResult};
2929
pub use crate::isaspec::{parse_options, IsaSpec, ParseOptionError};
30-
pub use crate::parser::{
31-
parse_functions, parse_run_command, parse_test, ParseOptions,
32-
};
30+
pub use crate::parser::{parse_functions, parse_run_command, parse_test, ParseOptions};
3331
pub use crate::run_command::{Comparison, Invocation, RunCommand};
3432
pub use crate::sourcemap::SourceMap;
3533
pub use crate::testcommand::{TestCommand, TestOption};

0 commit comments

Comments
 (0)