clippy lints

This commit is contained in:
Magnus Ulimoen 2020-04-22 22:29:26 +02:00
parent 35c4b25be3
commit d60770dcbf
2 changed files with 1 additions and 2 deletions

View File

@ -144,7 +144,7 @@ pub fn json_to_grids(
int_op,
)
} else if let Some(multigrid) = dir.strip_prefix("multi:") {
let grids = multigrid.split(":");
let grids = multigrid.split(':');
sbp::euler::BoundaryCharacteristic::MultiGrid(
grids
.map(|g| {

View File

@ -275,7 +275,6 @@ pub(crate) fn diff_op_row(
for (window, f) in prev
.windows(diag.len())
.into_iter()
.skip(window_elems_to_skip)
.zip(fut.iter_mut().skip(block.len()))
.take(nx - 2 * block.len())