Skip to content

Strings chapter of the book should mention how newlines can be embedded in string literals, and how string literals can chomp whitespace #29591

Closed
@bstrie

Description

@bstrie
    let x_with_a_newline_and_lots_of_whitespace = "blah
                                                   blah";
    let x_without_a_newline_or_whitespace = "blah \
                                             blah";

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions