-
-
Notifications
You must be signed in to change notification settings - Fork 689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Disallow prints to stdout #2404
Conversation
@@ -270,6 +270,7 @@ where | |||
if let Some(data) = static_data.get(path.path()) { | |||
path.add_params(data); | |||
} | |||
#[allow(clippy::print_stdout)] | |||
for path in path.into_paths() { | |||
println!("building static route: {}", path); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if this print statement is really needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks -- let's just leave it for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks great!
@@ -270,6 +270,7 @@ where | |||
if let Some(data) = static_data.get(path.path()) { | |||
path.add_params(data); | |||
} | |||
#[allow(clippy::print_stdout)] | |||
for path in path.into_paths() { | |||
println!("building static route: {}", path); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks -- let's just leave it for now
Prevents PRs like #2402