add test for Garde

This commit is contained in:
gengteng
2023-10-07 21:11:26 +08:00
parent 21ee4e7913
commit 2f1aa1060f
16 changed files with 112 additions and 78 deletions

View File

@@ -215,7 +215,7 @@ impl<E: IntoResponse> IntoResponse for ValidRejection<E> {
/// Trait for types that can supply a reference that can be validated.
///
/// Extractor types `T` that implement this trait can be used with `Valid`.
/// Extractor types `T` that implement this trait can be used with `Valid` or `Garde`.
///
pub trait HasValidate {
/// Inner type that can be validated for correctness