Mokuzzai

Results 2 issues of Mokuzzai

The conversion between a vector and a tuple is defined as follows: https://docs.rs/cgmath/0.18.0/src/cgmath/macros.rs.html#226-238 ``` impl AsRef for $ArrayN { #[inline] fn as_ref(&self) -> &$Tuple { unsafe { mem::transmute(self) } }...

bug

The two functions: * [`replace_with`](https://docs.rs/replace_with/latest/replace_with/fn.replace_with.html) * [`replace_with_and_return`](https://docs.rs/replace_with/latest/replace_with/fn.replace_with_and_return.html) Both have undefined behavior, since they can cause a double use if the `default` closure provided panics. While the documentation says that `default`...