mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-19 07:17:54 +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 <krahets@163.com>
This commit is contained in:
@@ -10,7 +10,8 @@ use tree_node::TreeNode;
|
||||
|
||||
/* Driver Code */
|
||||
fn main() {
|
||||
// 初始化二叉树
|
||||
/* 初始化二叉树 */
|
||||
// 初始化节点
|
||||
let n1 = TreeNode::new(1);
|
||||
let n2 = TreeNode::new(2);
|
||||
let n3 = TreeNode::new(3);
|
||||
|
||||
Reference in New Issue
Block a user