Skip to content

Commit

Permalink
Indent comments less
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jonas-schievink committed May 13, 2016
1 parent 95a968c commit 2c7e398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/pretty.rs
Expand Up @@ -22,7 +22,7 @@ use syntax::codemap::Span;

const INDENT: &'static str = " ";
/// Alignment for lining up comments following MIR statements
const ALIGN: usize = 50;
const ALIGN: usize = 40;

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

0 comments on commit 2c7e398

Please sign in to comment.