summaryrefslogtreecommitdiff
path: root/cli/tools/info.rs
diff options
context:
space:
mode:
author林炳权 <695601626@qq.com>2024-02-12 11:00:33 +0800
committerGitHub <noreply@github.com>2024-02-12 03:00:33 +0000
commit80d5ffbe7c4109229571bf94182cf3f40397795e (patch)
treebc802643634c5eb974c343b2d63060fe8de2dd3c /cli/tools/info.rs
parent26d9b2f3174030138a13bdb60c6c76a38fa0df19 (diff)
chore: update to Rust 1.76 (#22376)
Update to Rust 1.76
Diffstat (limited to 'cli/tools/info.rs')
-rw-r--r--cli/tools/info.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/info.rs b/cli/tools/info.rs
index 30ceb98e4..dd820f24f 100644
--- a/cli/tools/info.rs
+++ b/cli/tools/info.rs
@@ -284,7 +284,7 @@ fn print_tree_node<TWrite: Write>(
fn print_children<TWrite: Write>(
writer: &mut TWrite,
prefix: &str,
- children: &Vec<TreeNode>,
+ children: &[TreeNode],
) -> fmt::Result {
const SIBLING_CONNECTOR: char = '├';
const LAST_SIBLING_CONNECTOR: char = '└';