From 5bc8724c5d3237f777140fd547c4d60decaed60c Mon Sep 17 00:00:00 2001 From: Niklas Elsbrock Date: Mon, 26 Sep 2022 21:54:56 +0200 Subject: [PATCH] use `finish_non_exhaustive` in `Debug` implementation --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index d1527d7..1f04c31 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -62,7 +62,7 @@ where f.debug_struct("Accumulate") .field("iter", &self.iter) .field("acc", &self.acc) - .finish() + .finish_non_exhaustive() } }