Remove all uses of pub impl. rs=style

This commit is contained in:
Patrick Walton
2013-05-31 15:17:22 -07:00
parent 1e52eede31
commit 5fb254695b
181 changed files with 2890 additions and 2784 deletions

View File

@@ -166,14 +166,14 @@ pub struct Generics {
ty_params: OptVec<TyParam>
}
pub impl Generics {
fn is_parameterized(&self) -> bool {
impl Generics {
pub fn is_parameterized(&self) -> bool {
self.lifetimes.len() + self.ty_params.len() > 0
}
fn is_lt_parameterized(&self) -> bool {
pub fn is_lt_parameterized(&self) -> bool {
self.lifetimes.len() > 0
}
fn is_type_parameterized(&self) -> bool {
pub fn is_type_parameterized(&self) -> bool {
self.ty_params.len() > 0
}
}