librustc: Mark all type implementations public. rs=impl-publicity
This commit is contained in:
parent
b171d0ef7b
commit
107bf96ff0
114 changed files with 175 additions and 175 deletions
|
|
@ -174,7 +174,7 @@ pub struct IndexEntry {
|
|||
link: ~str
|
||||
}
|
||||
|
||||
impl Doc {
|
||||
pub impl Doc {
|
||||
fn CrateDoc(&self) -> CrateDoc {
|
||||
option::get(vec::foldl(None, self.pages, |_m, page| {
|
||||
match copy *page {
|
||||
|
|
@ -190,7 +190,7 @@ impl Doc {
|
|||
}
|
||||
|
||||
/// Some helper methods on ModDoc, mostly for testing
|
||||
impl ModDoc {
|
||||
pub impl ModDoc {
|
||||
fn mods(&self) -> ~[ModDoc] {
|
||||
do vec::filter_mapped(self.items) |itemtag| {
|
||||
match copy *itemtag {
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ fn test() {
|
|||
fn ifn() { } \
|
||||
enum ienum { ivar } \
|
||||
trait itrait { fn a(); } \
|
||||
impl int { fn a() { } } \
|
||||
pub impl int { fn a() { } } \
|
||||
type itype = int; \
|
||||
struct istruct { f: () }";
|
||||
do astsrv::from_str(source) |srv| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue