Clippy lint fixes

This commit is contained in:
2023-01-18 19:05:41 +01:00
parent 4c5c0305e4
commit 909e15572e
6 changed files with 17 additions and 18 deletions

View File

@@ -748,11 +748,11 @@ impl std::fmt::Debug for BoundaryCharacteristic {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
Self::This => write!(f, "This"),
Self::Grid(g) => write!(f, "Grid({})", g),
Self::Vortex(vp) => write!(f, "{:?}", vp),
Self::Grid(g) => write!(f, "Grid({g})"),
Self::Vortex(vp) => write!(f, "{vp:?}"),
Self::Eval(_) => write!(f, "Eval"),
Self::Interpolate(_, _) => write!(f, "Interpolate"),
Self::MultiGrid(m) => write!(f, "Multigrid: {:?}", m),
Self::MultiGrid(m) => write!(f, "Multigrid: {m:?}"),
}
}
}