remove impl FromRef<()> for ValidationContext
This commit is contained in:
@@ -211,12 +211,6 @@ impl ValidationContext {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl FromRef<()> for ValidationContext {
|
|
||||||
fn from_ref(_: &()) -> Self {
|
|
||||||
ValidationContext::default()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// `ValidError` is the error type returned when the `Valid` extractor fails.
|
/// `ValidError` is the error type returned when the `Valid` extractor fails.
|
||||||
///
|
///
|
||||||
/// It has two variants:
|
/// It has two variants:
|
||||||
|
|||||||
Reference in New Issue
Block a user