1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Rustlings strings1: String literals are string slices, not String structs

    rustRust

    README for this exercise.

    String literals are a bit special when it comes to Strings and string slices (&str). String literals are string slices that refer to “preallocated text” that is stored in read-only memory as part of the executable.