mirror of
https://github.com/krahets/hello-algo.git
synced 2026-06-28 00:24:21 +00:00
fix: check the rust codes and fix them (#653)
* fix: check the rust codes and fix it * Update binary_tree_bfs.rs --------- Co-authored-by: Yudong Jin <krahets@163.com>
This commit is contained in:
@@ -72,6 +72,7 @@ fn find(nums: &[i32], target: i32) -> Option<usize> {
|
||||
|
||||
/* Driver Code */
|
||||
fn main() {
|
||||
/* 初始化数组 */
|
||||
let arr = [0; 5];
|
||||
print!("数组 arr = ");
|
||||
print_util::print_array(&arr);
|
||||
|
||||
Reference in New Issue
Block a user