Skip to content

Commit 2c7e398

Browse files
Indent comments less
40 chars is still enough indentation (most common MIR statements don't take more than 40 chars), and fits more easily in 80-character terminals.
1 parent 95a968c commit 2c7e398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/pretty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use syntax::codemap::Span;
2222

2323
const INDENT: &'static str = " ";
2424
/// Alignment for lining up comments following MIR statements
25-
const ALIGN: usize = 50;
25+
const ALIGN: usize = 40;
2626

2727
/// If the session is properly configured, dumps a human-readable
2828
/// representation of the mir into:

0 commit comments

Comments
 (0)