mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-13 12:49:51 +08:00
Polish rust (#1777)
* Polish rust * Update array queue and linkedlist queue * Update linkedlist deque * make array deque generic
This commit is contained in:
@@ -34,7 +34,7 @@ impl TreeNode {
|
||||
macro_rules! op_vec {
|
||||
( $( $x:expr ),* ) => {
|
||||
vec![
|
||||
$( Option::from($x).map(|x| x) ),*
|
||||
$(Option::from($x)),*
|
||||
]
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user