Skip to content

Commit 4d2d7ed

Browse files
authored
Merge pull request #1462 from andersk/patch-1
str: The number of #s delimiting a raw string is limited to 65535
2 parents 1ca6a7b + 59f50eb commit 4d2d7ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/std/str.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ fn main() {
106106
println!("{}", quotes);
107107
108108
// If you need "# in your string, just use more #s in the delimiter.
109-
// There is no limit for the number of #s you can use.
109+
// You can use up to 65535 #s.
110110
let longer_delimiter = r###"A string with "# in it. And even "##!"###;
111111
println!("{}", longer_delimiter);
112112
}

0 commit comments

Comments
 (0)