Polish rust (#1777)

* Polish rust

* Update array queue and linkedlist queue

* Update linkedlist deque

* make array deque generic
This commit is contained in:
rongyi
2025-07-10 06:33:22 +08:00
committed by GitHub
parent e8dc4736a2
commit b0c147b67c
8 changed files with 41 additions and 47 deletions

View File

@@ -34,7 +34,7 @@ impl TreeNode {
macro_rules! op_vec {
( $( $x:expr ),* ) => {
vec![
$( Option::from($x).map(|x| x) ),*
$(Option::from($x)),*
]
};
}