Skip to content
Snippets Groups Projects
Commit 2b310901 authored by Thomas Kennedy's avatar Thomas Kennedy
Browse files

Rust fmt tweaks

parent 2864548d
No related branches found
No related tags found
No related merge requests found
......@@ -18,3 +18,4 @@ max_width = 80
# space_after_colon = true
# blank_lines_lower_bound = 1
......@@ -146,7 +146,8 @@ fn iter_example_1(
) {
let mut newton_solver = iterators::NewtonSolver::new(a, &math_f, &math_df);
for (idx, x_n) in newton_solver.enumerate().take_while(|(idx, _)| idx < &10) {
for (idx, x_n) in newton_solver.enumerate().take_while(|(idx, _)| idx < &10)
{
println!("{:>3}: {:>16.10}", idx, x_n);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment