mirror of
https://github.com/krahets/hello-algo.git
synced 2026-10-22 14:05:19 +08: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 <[email protected]>
This commit is contained in:
co-authored by
Yudong Jin
parent
978d3c2ed7
commit
fdbe275fc9
@@ -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