Skip to content

Commit 182349b

Browse files
committed
Update format
1 parent 6f1f379 commit 182349b

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

rustfmt.toml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,40 @@ max_width = 120
22
hard_tabs = false
33
tab_spaces = 4
44
newline_style = "Unix"
5-
use_small_heuristics = true
65
indent_style = "Block"
6+
use_small_heuristics = true
7+
format_strings = false
78
wrap_comments = false
89
comment_width = 100
910
normalize_comments = false
10-
format_strings = false
1111
empty_item_single_line = true
1212
struct_lit_single_line = true
1313
fn_single_line = false
1414
where_single_line = false
1515
imports_indent = "Visual"
1616
imports_layout = "Mixed"
17-
merge_imports = false
17+
reorder_extern_crates = true
18+
reorder_extern_crates_in_group = true
1819
reorder_imports = true
20+
reorder_imports_in_group = true
21+
reorder_imported_names = true
1922
reorder_modules = true
20-
reorder_impl_items = false
23+
binop_separator = "Front"
2124
type_punctuation_density = "Wide"
2225
space_before_colon = false
2326
space_after_colon = true
2427
spaces_around_ranges = false
2528
spaces_within_parens_and_brackets = false
26-
binop_separator = "Front"
27-
remove_blank_lines_at_start_or_end_of_block = true
2829
combine_control_expr = true
2930
struct_field_align_threshold = 0
31+
remove_blank_lines_at_start_or_end_of_block = true
3032
match_arm_blocks = true
3133
force_multiline_blocks = false
3234
fn_args_density = "Tall"
3335
brace_style = "SameLineWhere"
3436
control_brace_style = "AlwaysSameLine"
35-
trailing_semicolon = true
3637
trailing_comma = "Vertical"
38+
trailing_semicolon = true
3739
match_block_trailing_comma = false
3840
blank_lines_upper_bound = 1
3941
blank_lines_lower_bound = 0
@@ -48,9 +50,8 @@ unstable_features = false
4850
disable_all_formatting = false
4951
skip_children = false
5052
hide_parse_errors = false
51-
error_on_line_overflow = false
53+
error_on_line_overflow = true
5254
error_on_unformatted = false
5355
report_todo = "Never"
5456
report_fixme = "Never"
5557
ignore = []
56-
verbose_diff = false

src/eigh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
33
use ndarray::*;
44

5+
use super::UPLO;
56
use super::diagonal::*;
67
use super::error::*;
78
use super::layout::*;
89
use super::operator::*;
910
use super::types::*;
10-
use super::UPLO;
1111

1212
/// Eigenvalue decomposition of Hermite matrix reference
1313
pub trait Eigh {

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
use ndarray::LinalgScalar;
44
use num_complex::Complex;
55
use num_traits::*;
6-
use rand::distributions::*;
76
use rand::Rng;
7+
use rand::distributions::*;
88
use std::fmt::Debug;
99
use std::iter::Sum;
1010
use std::ops::Neg;

0 commit comments

Comments
 (0)