1. 22
    Rustlings strings1: String literals are string slices, not String structs
    24s

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

InstructorChris Biscardi

Share this video with your friends

Send Tweet

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.