Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b935d5e

Browse filesBrowse files
committed
formatting
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
1 parent 1d69a4d commit b935d5e
Copy full SHA for b935d5e

File tree

1 file changed

+1
-4
lines changed
Filter options

1 file changed

+1
-4
lines changed

‎compiler/codegen/src/compile.rs

Copy file name to clipboardExpand all lines: compiler/codegen/src/compile.rs
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3393,10 +3393,7 @@ fn clean_doc(doc: &str) -> String {
33933393
// copy subsequent lines without margin.
33943394
for line in doc.split('\n').skip(1) {
33953395
cleaned.push('\n');
3396-
let cleaned_line = line
3397-
.chars()
3398-
.skip(margin)
3399-
.collect::<String>();
3396+
let cleaned_line = line.chars().skip(margin).collect::<String>();
34003397
cleaned.push_str(&cleaned_line);
34013398
}
34023399

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.