Skip to content

Commit d4b5545

Browse files
committed
fix: fixes compiling with debug cargo feature
1 parent 157f981 commit d4b5545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/args/help_writer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ impl<'a, 'n, 'e, A> HelpWriter<'a, A> where A: AnyArg<'n, 'e> + Display {
167167
help.push_str(h);
168168
help.push_str(&*spec_vals);
169169
debugln!("help: {}", help);
170-
debugln!("help width: {}", str_width(help));
170+
debugln!("help width: {}", str_width(&*help));
171171
// Determine how many newlines we need to insert
172172
let avail_chars = width - spcs;
173173
debugln!("Usable space: {}", avail_chars);

0 commit comments

Comments
 (0)