These are chat archives for rust-lang/rust
HashMap<String, X>and index it with a
&str. Or, for that matter, to take a
HashMap<Cow<'a, str>, X>and index it with a
Rusty Code Native Debug(GDB debug). Then which version(gnu or msvc) rust compiler should I install?
'staticlifetime. 99% of the static references you'll deal with are string literals, which have the type
&'static str. Your type can have
&'static strs in it and still be
'staticbasically just means it doesn't have a
<'a>in its type.