rename ValidArgs to ValidEx

This commit is contained in:
gengteng
2023-09-27 12:10:06 +08:00
parent 5b15f15ce3
commit a6da64d6c9
3 changed files with 19 additions and 15 deletions

View File

@@ -49,7 +49,7 @@
//! }
//! ```
use crate::{Valid, ValidArgs};
use crate::{Valid, ValidEx};
use axum_extra::routing::TypedPath;
use std::fmt::Display;
@@ -57,6 +57,6 @@ impl<T: TypedPath + Display> TypedPath for Valid<T> {
const PATH: &'static str = T::PATH;
}
impl<T: TypedPath + Display> TypedPath for ValidArgs<T> {
impl<T: TypedPath + Display> TypedPath for ValidEx<T> {
const PATH: &'static str = T::PATH;
}