rust string to &'static str
how-to-convert-a-string-into-a-static-str
copy form here(how-to-convert-a-string-into-a-static-str)
cannot return reference to temporary value
usage:
use to_str;
how-to-convert-a-string-into-a-static-str
copy form here(how-to-convert-a-string-into-a-static-str)
cannot return reference to temporary value
use to_str;