From b0ebeb9fffa9f8e457ac24ba972aab0aab24c596 Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 30 Apr 2024 16:48:00 +0200 Subject: [PATCH] fix: mastodont sized --- src/routes/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/mod.rs b/src/routes/mod.rs index 2803347b..bde0fbdf 100644 --- a/src/routes/mod.rs +++ b/src/routes/mod.rs @@ -9,7 +9,7 @@ pub mod mastodon; #[cfg(not(feature = "mastodon"))] pub mod mastodon { pub trait MastodonRouter { - fn mastodon_routes(self) -> Self { self } + fn mastodon_routes(self) -> Self where Self: Sized { self } } impl MastodonRouter for axum::Router {}