From edf88416426d82d0099fc888e443bf21feeb1f04 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 6 Oct 2014 16:33:44 -0700 Subject: syntax: Convert statics to constants --- src/libsyntax/print/pprust.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/print') diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 321b00db47e..e1a2b2aeefe 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -90,10 +90,10 @@ pub fn rust_printer_annotated<'a>(writer: Box, } #[allow(non_uppercase_statics)] -pub static indent_unit: uint = 4u; +pub const indent_unit: uint = 4u; #[allow(non_uppercase_statics)] -pub static default_columns: uint = 78u; +pub const default_columns: uint = 78u; /// Requires you to pass an input filename and reader so that /// it can scan the input text for comments and literals to -- cgit 1.4.1-3-g733a5