From 2c7e398935fe10aa2adea453ca0a2251b3c387e8 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 13 May 2016 23:40:06 +0200 Subject: [PATCH] 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. --- src/librustc_mir/pretty.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: