diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-10-06 16:33:44 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-10-09 09:44:51 -0700 |
| commit | edf88416426d82d0099fc888e443bf21feeb1f04 (patch) | |
| tree | d29a3013428dfe5654ef3c2276c85622044a6667 /src/libsyntax/print | |
| parent | 8ccb61609238063b2f1b0cd038974426cdf81bc8 (diff) | |
| download | rust-edf88416426d82d0099fc888e443bf21feeb1f04.tar.gz rust-edf88416426d82d0099fc888e443bf21feeb1f04.zip | |
syntax: Convert statics to constants
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<io::Writer+'static>, } #[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 |
