diff options
author | 林炳权 <695601626@qq.com> | 2024-02-12 11:00:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 03:00:33 +0000 |
commit | 80d5ffbe7c4109229571bf94182cf3f40397795e (patch) | |
tree | bc802643634c5eb974c343b2d63060fe8de2dd3c /cli/tools/info.rs | |
parent | 26d9b2f3174030138a13bdb60c6c76a38fa0df19 (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.rs | 2 |
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 = '└'; |