ple-rendered'>
<span class='kw'>let</span> <span class='ident'>greeting</span> <span class='op'>=</span> <span class='string'>&quot;Hello there.&quot;</span>; <span class='comment'>// greeting: &amp;&#39;static str</span></pre>

<!-- `"Hello there."` is a string literal and its type is `&'static str`. A string -->

<!-- literal is a string slice that is statically allocated, meaning that it’s saved -->

<!-- inside our compiled program, and exists for the entire duration it runs. The -->

<!-- `greeting` 