macro_rules! sm { ($($a:ident = $b:expr);* $(;)?) => { ... }; }
Expand description
Conveniently create mutable String variables.
Examples
use aoko::{sm, no_std::functions::fun::s};
sm!(a = "a"; b = "b"; c = "c";);
assert_eq!((a, b, c), (s("a"), s("b"), s("c")));
a = s("x"); b = s("y"); c = s("z");
assert_eq!((a, b, c), (s("x"), s("y"), s("z")));