1
Fork 0

rustdoc: Switch field privacy as necessary

This commit is contained in:
Alex Crichton 2014-03-28 10:27:24 -07:00
parent f0ee509229
commit eb08e8fec2
10 changed files with 258 additions and 250 deletions

View file

@ -13,15 +13,15 @@ use std::io;
#[deriving(Clone)]
pub struct Layout {
logo: ~str,
favicon: ~str,
krate: ~str,
pub logo: ~str,
pub favicon: ~str,
pub krate: ~str,
}
pub struct Page<'a> {
title: &'a str,
ty: &'a str,
root_path: &'a str,
pub title: &'a str,
pub ty: &'a str,
pub root_path: &'a str,
}
pub fn render<T: fmt::Show, S: fmt::Show>(