about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Schievink <jonas@schievink.net>2016-05-13 23:40:06 +0200
committerJonas Schievink <jonas@schievink.net>2016-05-13 23:40:06 +0200
commit2c7e398935fe10aa2adea453ca0a2251b3c387e8 (patch)
tree2ff5b73f80e5b6ea690c3c26bf7e129ee88ef667
parent95a968c4263098fcd8c2e2cacc74f456cab88f14 (diff)
downloadrust-2c7e398935fe10aa2adea453ca0a2251b3c387e8.tar.gz
rust-2c7e398935fe10aa2adea453ca0a2251b3c387e8.zip
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.
-rw-r--r--src/librustc_mir/pretty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/pretty.rs b/src/librustc_mir/pretty.rs
index c6455e1c1cf..fb29cbd5fa8 100644
--- a/src/librustc_mir/pretty.rs
+++ b/src/librustc_mir/pretty.rs
@@ -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: