fn leaf_children(&self) -> Vec<u32> {
		assert!(self.is_leaf());
		let mut children = Vec::new();
		for ch in 1 .. 7 {
			let hnd = self.child[ch];
			if hnd > 0 {
				children.push(hnd);
			}
		}
		children
	}
// TODO: Don't be forced to allocate a vector
/// Get a vector containing the leaf children
Don't be forced to allocate a vector
Get a vector containing the leaf children
Don ' t be forced to allocate a vector Get a vector containing the leaf children
fn leaf_children(&self) -> Vec<u32> {
		assert!(self.is_leaf());
		let mut children = Vec::new();
		for ch in 1 .. 7 {
			let hnd = self.child[ch];
			if hnd > 0 {
				children.push(hnd);
			}
		}
		children
	}
fn leaf_children ( & self ) -> Vec < u32 > { assert ! ( self is_leaf ( ) ) ; let mut children = Vec :: new ( ) ; for ch in 1 .. 7 { let hnd = self . child [ ch ] ; if hnd > 0 { children . push ( hnd ) ; } } children }
TODO: Don't be forced to allocate a vector
Get a vector containing the leaf children
TODO : Don ' t be forced to allocate a vector Get a vector containing the leaf children
&self