From 45b3a5acc5fdae7d9ced9607e0f29352bf7a3748 Mon Sep 17 00:00:00 2001 From: Vika Date: Wed, 23 Mar 2022 04:24:02 +0300 Subject: Get rid of legacy code, fix mistakes in fluff text and comments --- src/frontend/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/frontend/mod.rs') diff --git a/src/frontend/mod.rs b/src/frontend/mod.rs index 49faf59..b594fc6 100644 --- a/src/frontend/mod.rs +++ b/src/frontend/mod.rs @@ -290,9 +290,7 @@ pub fn homepage(db: D, endpoints: IndiewebEndpoints) -> impl Filter< hyper::Uri::from_static("/onboarding") )) as Box } - _ => { - todo!("Handle cases where either main h-card or main h-feed are deleted") - } + _ => unreachable!() } }) } -- cgit 1.4.1