From 4ae6551c786b98027d0613a456af99ac0c0282ba Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 29 May 2019 09:42:16 +0200 Subject: [PATCH] src/api_schema/router.rs: disable debug println --- src/api_schema/router.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api_schema/router.rs b/src/api_schema/router.rs index 8e645e40..10271172 100644 --- a/src/api_schema/router.rs +++ b/src/api_schema/router.rs @@ -292,12 +292,12 @@ impl Router { SubRoute::None => {}, SubRoute::Hash(ref dirmap) => { if let Some(ref router) = dirmap.get(dir) { - println!("FOUND SUBDIR {}", dir); + //println!("FOUND SUBDIR {}", dir); return router.find_route(rest, uri_param); } } SubRoute::MatchAll { ref router, ref param_name } => { - println!("URI PARAM {} = {}", param_name, dir); // fixme: store somewhere + //println!("URI PARAM {} = {}", param_name, dir); // fixme: store somewhere uri_param.insert(param_name.clone(), dir.into()); return router.find_route(rest, uri_param); },