use ref as args

This commit is contained in:
gengteng
2023-09-27 13:26:20 +08:00
parent a6da64d6c9
commit 5a5c24678f
2 changed files with 28 additions and 26 deletions

View File

@@ -57,6 +57,6 @@ impl<T: TypedPath + Display> TypedPath for Valid<T> {
const PATH: &'static str = T::PATH;
}
impl<T: TypedPath + Display> TypedPath for ValidEx<T> {
impl<T: TypedPath + Display, A> TypedPath for ValidEx<T, A> {
const PATH: &'static str = T::PATH;
}