use finish_non_exhaustive in Debug implementation

This commit is contained in:
2022-09-26 21:54:56 +02:00
parent 1fe81cea4a
commit 5bc8724c5d
+1 -1
View File
@@ -62,7 +62,7 @@ where
f.debug_struct("Accumulate") f.debug_struct("Accumulate")
.field("iter", &self.iter) .field("iter", &self.iter)
.field("acc", &self.acc) .field("acc", &self.acc)
.finish() .finish_non_exhaustive()
} }
} }