about summary refs log tree commit diff
path: root/src/libterm/lib.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-27 15:13:45 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-31 15:47:36 -0700
commitabd7dd83a7c4263e0f48c777e85a43f9ccb7c092 (patch)
tree9744c728a421e06075c51db3eb1f2873bb7fd45e /src/libterm/lib.rs
parentee7016d95f5ca8f6f27e83ba8e040ee95813840a (diff)
downloadrust-abd7dd83a7c4263e0f48c777e85a43f9ccb7c092.tar.gz
rust-abd7dd83a7c4263e0f48c777e85a43f9ccb7c092.zip
term: Switch field privacy as necessary
Diffstat (limited to 'src/libterm/lib.rs')
-rw-r--r--src/libterm/lib.rs11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs
index 50f2118f0c4..15ba5266cb3 100644
--- a/src/libterm/lib.rs
+++ b/src/libterm/lib.rs
@@ -20,7 +20,10 @@
        html_root_url = "http://static.rust-lang.org/doc/master")]
 
 #![feature(macro_rules)]
-#![deny(missing_doc)]
+
+// #![deny(missing_doc)] // NOTE: uncomment after a stage0 snap
+#![allow(missing_doc)] // NOTE: remove after a stage0 snap
+#![allow(visible_private_types)] // NOTE: remove after a stage0 snap
 
 extern crate collections;
 
@@ -111,9 +114,9 @@ fn cap_for_attr(attr: attr::Attr) -> &'static str {
 /// A Terminal that knows how many colors it supports, with a reference to its
 /// parsed TermInfo database record.
 pub struct Terminal<T> {
-    priv num_colors: u16,
-    priv out: T,
-    priv ti: ~TermInfo
+    num_colors: u16,
+    out: T,
+    ti: ~TermInfo
 }
 
 impl<T: Writer> Terminal<T> {