1/// Creates a new `Box` instance.
2///
3/// This macro takes an expression and wraps it in a `Box`. It offers a more concise syntax compared to the standard `Box::new` function.
4#[macro_export]
5macro_rules! boxed {
6 ($val:expr) => {
7 std::boxed::Box::new($val)
8 };
9}