fix: mastodont sized
This commit is contained in:
parent
6f033de946
commit
b0ebeb9fff
1 changed files with 1 additions and 1 deletions
|
@ -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> {}
|
||||||
|
|
Loading…
Reference in a new issue