chore: removes extra debug statements

This commit is contained in:
Kevin K 2016-06-05 01:08:42 -04:00
parent 706a7c11b0
commit 7db45f78d8

View file

@ -542,7 +542,7 @@ impl<'a> Help<'a> {
/// Writes help for subcommands of a Parser Object to the wrapped stream. /// Writes help for subcommands of a Parser Object to the wrapped stream.
fn write_subcommands(&mut self, parser: &Parser) -> io::Result<()> { fn write_subcommands(&mut self, parser: &Parser) -> io::Result<()> {
debugln!("exec=write_subcommands;"); debugln!("exec=write_subcommands;");
let mut longest = 0; let mut longest = 0;
let mut ord_m = VecMap::new(); let mut ord_m = VecMap::new();
@ -556,12 +556,10 @@ impl<'a> Help<'a> {
for (_, btm) in ord_m.into_iter() { for (_, btm) in ord_m.into_iter() {
for (_, sc) in btm.into_iter() { for (_, sc) in btm.into_iter() {
if !first { if !first {
debugln!("Writing newline...");
try!(self.writer.write(b"\n")); try!(self.writer.write(b"\n"));
} else { } else {
first = false; first = false;
} }
debugln!("Writing sc...{}", sc);
try!(self.write_arg(sc, longest)); try!(self.write_arg(sc, longest));
} }
} }