datatypes: small fix for the BST node constructor (#13569)
							parent
							
								
									1032cf5c04
								
							
						
					
					
						commit
						6a876d4170
					
				| 
						 | 
					@ -41,7 +41,7 @@ fn new_node<T>(parent &BSTreeNode<T>, value T) &BSTreeNode<T> {
 | 
				
			||||||
// new_none_node creates a dummy node.
 | 
					// new_none_node creates a dummy node.
 | 
				
			||||||
fn new_none_node<T>(init bool) &BSTreeNode<T> {
 | 
					fn new_none_node<T>(init bool) &BSTreeNode<T> {
 | 
				
			||||||
	return &BSTreeNode<T>{
 | 
						return &BSTreeNode<T>{
 | 
				
			||||||
		is_init: false
 | 
							is_init: init
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue