Fix clippy::println_empty_string
, clippy::while_let_on_iterator
, clippy::while_let_on_iterator
lint style violations (#36613)
Related: #36577 Release Notes: - N/A
This commit is contained in:
parent
41e28a7185
commit
ec8106d1db
20 changed files with 35 additions and 32 deletions
|
@ -706,7 +706,7 @@ fn print_report(
|
|||
println!("Average thread score: {average_thread_score}%");
|
||||
}
|
||||
|
||||
println!("");
|
||||
println!();
|
||||
|
||||
print_h2("CUMULATIVE TOOL METRICS");
|
||||
println!("{}", cumulative_tool_metrics);
|
||||
|
|
|
@ -913,9 +913,9 @@ impl RequestMarkdown {
|
|||
for tool in &request.tools {
|
||||
write!(&mut tools, "# {}\n\n", tool.name).unwrap();
|
||||
write!(&mut tools, "{}\n\n", tool.description).unwrap();
|
||||
write!(
|
||||
writeln!(
|
||||
&mut tools,
|
||||
"{}\n",
|
||||
"{}",
|
||||
MarkdownCodeBlock {
|
||||
tag: "json",
|
||||
text: &format!("{:#}", tool.input_schema)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue