From 5a2535f86562a5252ee908a3953567fe42855265 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Tue, 29 Jun 2021 05:06:37 -0700 Subject: [PATCH] Mark 'form::ErrorKind' 'non_exhaustive'. --- core/lib/src/form/error.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/lib/src/form/error.rs b/core/lib/src/form/error.rs index f9f195c7..a58ced09 100644 --- a/core/lib/src/form/error.rs +++ b/core/lib/src/form/error.rs @@ -161,6 +161,7 @@ pub struct Error<'v> { /// * [`io::Error`] => [`ErrorKind::Io`] /// * `Box [`ErrorKind::Custom`] #[derive(Debug)] +#[non_exhaustive] pub enum ErrorKind<'v> { /// The value's length, in bytes, was outside the range `[min, max]`. InvalidLength {