File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 20
20
html_root_url = "http://static.rust-lang.org/doc/master" ) ]
21
21
22
22
#![ feature( macro_rules) ]
23
- #![ deny( missing_doc) ]
23
+
24
+ // #![deny(missing_doc)] // NOTE: uncomment after a stage0 snap
25
+ #![ allow( missing_doc) ] // NOTE: remove after a stage0 snap
26
+ #![ allow( visible_private_types) ] // NOTE: remove after a stage0 snap
24
27
25
28
extern crate collections;
26
29
@@ -111,9 +114,9 @@ fn cap_for_attr(attr: attr::Attr) -> &'static str {
111
114
/// A Terminal that knows how many colors it supports, with a reference to its
112
115
/// parsed TermInfo database record.
113
116
pub struct Terminal < T > {
114
- priv num_colors : u16 ,
115
- priv out: T ,
116
- priv ti: ~TermInfo
117
+ num_colors : u16 ,
118
+ out : T ,
119
+ ti : ~TermInfo
117
120
}
118
121
119
122
impl < T : Writer > Terminal < T > {
Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ use collections::HashMap;
15
15
/// A parsed terminfo database entry.
16
16
pub struct TermInfo {
17
17
/// Names for the terminal
18
- priv names : Vec < ~str > ,
18
+ pub names : Vec < ~str > ,
19
19
/// Map of capability name to boolean value
20
- priv bools : HashMap < ~str , bool > ,
20
+ pub bools : HashMap < ~str , bool > ,
21
21
/// Map of capability name to numeric value
22
- numbers : HashMap < ~str , u16 > ,
22
+ pub numbers : HashMap < ~str , u16 > ,
23
23
/// Map of capability name to raw (unexpanded) string
24
- strings : HashMap < ~str , Vec < u8 > >
24
+ pub strings : HashMap < ~str , Vec < u8 > >
25
25
}
26
26
27
27
pub mod searcher;
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ pub enum Param {
48
48
/// Container for static and dynamic variable arrays
49
49
pub struct Variables {
50
50
/// Static variables A-Z
51
- priv sta: [ Param , ..26 ] ,
51
+ sta : [ Param , ..26 ] ,
52
52
/// Dynamic variables a-z
53
- priv dyn: [ Param , ..26 ]
53
+ dyn : [ Param , ..26 ]
54
54
}
55
55
56
56
impl Variables {
You can’t perform that action at this time.
0 commit comments