1
0
Fork 0
forked from alemi/upub

fix: mastodont sized

This commit is contained in:
əlemi 2024-04-30 16:48:00 +02:00
parent 6f033de946
commit b0ebeb9fff
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -9,7 +9,7 @@ pub mod mastodon;
#[cfg(not(feature = "mastodon"))] #[cfg(not(feature = "mastodon"))]
pub mod mastodon { pub mod mastodon {
pub trait MastodonRouter { pub trait MastodonRouter {
fn mastodon_routes(self) -> Self { self } fn mastodon_routes(self) -> Self where Self: Sized { self }
} }
impl MastodonRouter for axum::Router<crate::server::Context> {} impl MastodonRouter for axum::Router<crate::server::Context> {}