Small tweak

This commit is contained in:
Chris Tsang 2022-12-28 15:57:40 +08:00 committed by GitHub
parent 1b4e1670f7
commit 7f96418fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ pub trait LoaderTrait {
<<Self as LoaderTrait>::Model as ModelTrait>::Entity: Related<R>; <<Self as LoaderTrait>::Model as ModelTrait>::Entity: Related<R>;
} }
#[async_trait::async_trait] #[async_trait]
impl<M> LoaderTrait for Vec<M> impl<M> LoaderTrait for Vec<M>
where where
M: ModelTrait, M: ModelTrait,