about summary refs log tree commit diff
path: root/src/liblog
diff options
context:
space:
mode:
authorOliver 'ker' Schneider <rust19446194516@oli-obk.de>2015-06-07 19:50:13 +0200
committerOliver 'ker' Schneider <rust19446194516@oli-obk.de>2015-06-07 19:50:13 +0200
commitec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a (patch)
tree1ec3554c23443ccc25e44eb90efa4f176fe33df9 /src/liblog
parent2c8d75d655b7d0bf84178f464c47a79569a35f3c (diff)
downloadrust-ec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a.tar.gz
rust-ec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a.zip
change some statics to constants
Diffstat (limited to 'src/liblog')
-rw-r--r--src/liblog/directive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblog/directive.rs b/src/liblog/directive.rs
index 9ea680c7efe..5d38a381e6b 100644
--- a/src/liblog/directive.rs
+++ b/src/liblog/directive.rs
@@ -17,7 +17,7 @@ pub struct LogDirective {
     pub level: u32,
 }
 
-pub static LOG_LEVEL_NAMES: [&'static str; 4] = ["ERROR", "WARN", "INFO",
+pub const LOG_LEVEL_NAMES: [&'static str; 4] = ["ERROR", "WARN", "INFO",
                                                "DEBUG"];
 
 /// Parse an individual log level that is either a number or a symbolic log level