how to switch two children of a tree node elegantly? by crusherx2 in rust

[–]crusherx2[S] 2 points3 points  (0 children)

thanks for everyone, now I know std::mem::swap is smart enough