title: Creating a static const Vec<String>
body: <p>I am trying to initialize a <code>Vec&lt;String&gt;</code> with some settings that can be reused over my code.</p>
  
  <p>I am using <code>const left: Vec&lt;String&gt; = vec![...</code> but this doesn't work: </p>
  
  <pre class="lang-none prettyprint-override"><code>error[E0308]: mismatched types
    --&gt; names-generator.rs:2:27
     |
  2  | const left: Vec&lt;String&gt; = vec![
     |                           ^ expected slice, found array of 93 elements
     |
     = note: expected type `Box&lt;[std::string::String]&gt;`
     = note:    found type `Box&lt;[&amp;str; 93]&gt;`
     = note: this error originates in a macro outside of the current crate
  </code></pre>
  
  <p>What is the recommended way of doing something like this?</p>