安全にこれで&'staticへ変換できる

fn to_static_str(s: &str) -> &'static str {
  s.to_owned().leak()
}