Impl 'Fairing' for 'Arc<dyn Fairing>'.

This commit is contained in:
Dinu Blanovschi 2023-02-21 01:22:59 +01:00 committed by Sergio Benitez
parent 78e6e55aa2
commit b556ec1bba
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ pub trait Fairing: Send + Sync + Any + 'static {
}
#[crate::async_trait]
impl<T: Fairing> Fairing for std::sync::Arc<T> {
impl<T: Fairing + ?Sized> Fairing for std::sync::Arc<T> {
#[inline]
fn info(&self) -> Info {
(self as &T).info()