intern

Function intern 

Source
pub fn intern(s: &str) -> Arc<str>
Expand description

Interns a string slice using the global interner.

This is a convenience function that uses the global GLOBAL_INTERNER.