Skip to content

Commit 47859c5

Browse files
Rename function, remove debug.
1 parent 5ec51ce commit 47859c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/parser/regex.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use anyhow::Context;
22

33
use itertools::Itertools;
44

5-
use tracing::{debug, warn};
5+
use tracing::warn;
66

77
use std::{borrow::Cow, sync::Arc};
88

@@ -156,13 +156,15 @@ struct AutoCommandLineArgsRegex(String);
156156
impl AutoCommandLineArgsRegex {
157157
fn new(command_line_args: &CommandLineArgs) -> Option<Self> {
158158
if command_line_args.regex.is_none() && command_line_args.commands_from_args_mode() {
159-
Self::new_auto_interpolate_args(command_line_args)
159+
Self::new_auto_interpolate_commands_from_args(command_line_args)
160160
} else {
161161
None
162162
}
163163
}
164164

165-
fn new_auto_interpolate_args(command_line_args: &CommandLineArgs) -> Option<Self> {
165+
fn new_auto_interpolate_commands_from_args(
166+
command_line_args: &CommandLineArgs,
167+
) -> Option<Self> {
166168
let mut first = true;
167169
let mut argument_group_count = 0;
168170

@@ -183,8 +185,6 @@ impl AutoCommandLineArgsRegex {
183185

184186
let argument_group_count = argument_group_count;
185187

186-
debug!("argument_group_count = {}", argument_group_count);
187-
188188
let mut generated_regex = String::with_capacity(argument_group_count * 5);
189189

190190
for i in 0..argument_group_count {

0 commit comments

Comments
 (0)