[−][src]Macro saltwater::get_str
Return a &str
corresponding to this identifier.
This &str
can only be used in expression position;
attempting to assign it to a variable will give a lifetime error.
If you need it to live longer than a single expression, see instead
InternedStr::resolve_and_clone
or intern::STRINGS
.
Panics
This function will panic if another thread panicked while accessing the global string pool.