mirror of https://github.com/rwf2/Rocket.git
Mark 'form::ErrorKind' 'non_exhaustive'.
This commit is contained in:
parent
9ce2935fe1
commit
5a2535f865
|
@ -161,6 +161,7 @@ pub struct Error<'v> {
|
|||
/// * [`io::Error`] => [`ErrorKind::Io`]
|
||||
/// * `Box<dyn std::error::Error + Send` => [`ErrorKind::Custom`]
|
||||
#[derive(Debug)]
|
||||
#[non_exhaustive]
|
||||
pub enum ErrorKind<'v> {
|
||||
/// The value's length, in bytes, was outside the range `[min, max]`.
|
||||
InvalidLength {
|
||||
|
|
Loading…
Reference in New Issue