-
Notifications
You must be signed in to change notification settings - Fork 905
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix the error with long string in raw string (#3800)
- Loading branch information
1 parent
ca78653
commit 4449250
Showing
3 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
fn main() { | ||
let _ = | ||
r#" | ||
this is a very long string exceeded maximum width in this case maximum 100. (current this line width is about 115) | ||
"#; | ||
|
||
let _with_newline = | ||
|
||
r#" | ||
this is a very long string exceeded maximum width in this case maximum 100. (current this line width is about 115) | ||
"#; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
fn main() { | ||
let _ = r#" | ||
this is a very long string exceeded maximum width in this case maximum 100. (current this line width is about 115) | ||
"#; | ||
|
||
let _with_newline = r#" | ||
this is a very long string exceeded maximum width in this case maximum 100. (current this line width is about 115) | ||
"#; | ||
} |