Skip to content

Commit 2e6171b

Browse files
authored
Merge pull request #1839 from zinoviy23/master
Raw string literal can contain up to 255 #s according to Rust Reference
2 parents 60d34b5 + 11f4c64 commit 2e6171b

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-
// You can use up to 65535 #s.
109+
// You can use up to 255 #s.
110110
let longer_delimiter = r###"A string with "# in it. And even "##!"###;
111111
println!("{}", longer_delimiter);
112112
}

0 commit comments

Comments
 (0)