I’m currently working on an SMTP server library and feel like I’m writing a lot of things like
"some string".into_string(). That seems redondant and I find
into_string() to be quite long. I tried using
box "some string" but that yields a
Box<&str>, which is not what I want.
Is there any such thing as
str!("some string"), where
str! is a macro that basically calls
I feel like this would make things a bit more readable. What do you think?