Function bones_framework::prelude::ustr
pub fn ustr(s: &str) -> Ustr
Expand description
Create a new Ustr from the given &str.
use ustr::ustr;
let u1 = ustr("the quick brown fox");
let u2 = ustr("the quick brown fox");
assert_eq!(u1, u2);
assert_eq!(ustr::num_entries(), 1);