about summary refs log tree commit diff
path: root/src/libterm
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-10-27 15:37:07 -0700
committerAaron Turon <aturon@mozilla.com>2014-10-28 08:54:21 -0700
commite0ad0fcb95f0bd6e69e9032c23b66515a590dfe5 (patch)
tree8d1fcc64b2219b49b255f92f1d2c4087200d8930 /src/libterm
parent58dc0a05abb98ae2db65ca20e70f3bab51f8bf92 (diff)
Update code with new lint names
Diffstat (limited to 'src/libterm')
-rw-r--r--src/libterm/lib.rs2
-rw-r--r--src/libterm/terminfo/parm.rs2
-rw-r--r--src/libterm/terminfo/parser/compiled.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs
index fbf17b76d62..2943ff99a91 100644
--- a/src/libterm/lib.rs
+++ b/src/libterm/lib.rs
@@ -52,7 +52,7 @@
 #![allow(unknown_features)]
 #![feature(macro_rules, phase, slicing_syntax)]
 
-#![deny(missing_doc)]
+#![deny(missing_docs)]
 
 #[phase(plugin, link)] extern crate log;
 
diff --git a/src/libterm/terminfo/parm.rs b/src/libterm/terminfo/parm.rs
index 586f420dc3e..b893d69858c 100644
--- a/src/libterm/terminfo/parm.rs
+++ b/src/libterm/terminfo/parm.rs
@@ -38,7 +38,7 @@ enum FormatState {
 }
 
 /// Types of parameters a capability can use
-#[allow(missing_doc)]
+#[allow(missing_docs)]
 #[deriving(Clone)]
 pub enum Param {
     Words(String),
diff --git a/src/libterm/terminfo/parser/compiled.rs b/src/libterm/terminfo/parser/compiled.rs
index 6b921144144..9eb7216fba0 100644
--- a/src/libterm/terminfo/parser/compiled.rs
+++ b/src/libterm/terminfo/parser/compiled.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![allow(non_uppercase_statics)]
+#![allow(non_upper_case_globals)]
 
 //! ncurses-compatible compiled terminfo format parsing (term(5))