From 7db45f78d8bb073c3c1e51148ee03a1a84eac813 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Sun, 5 Jun 2016 01:08:42 -0400 Subject: [PATCH] chore: removes extra debug statements --- src/app/help.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/help.rs b/src/app/help.rs index 2957a731..23893a38 100644 --- a/src/app/help.rs +++ b/src/app/help.rs @@ -542,7 +542,7 @@ impl<'a> Help<'a> { /// Writes help for subcommands of a Parser Object to the wrapped stream. fn write_subcommands(&mut self, parser: &Parser) -> io::Result<()> { - debugln!("exec=write_subcommands;"); + debugln!("exec=write_subcommands;"); let mut longest = 0; let mut ord_m = VecMap::new(); @@ -556,12 +556,10 @@ impl<'a> Help<'a> { for (_, btm) in ord_m.into_iter() { for (_, sc) in btm.into_iter() { if !first { - debugln!("Writing newline..."); try!(self.writer.write(b"\n")); } else { first = false; } - debugln!("Writing sc...{}", sc); try!(self.write_arg(sc, longest)); } }