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
|
|
@ -162,7 +162,7 @@ pub struct Generics {
|
|||
ty_params: OptVec<TyParam>
|
||||
}
|
||||
|
||||
impl Generics {
|
||||
pub impl Generics {
|
||||
fn is_empty(&self) -> bool {
|
||||
self.lifetimes.len() + self.ty_params.len() == 0
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ enum Junction {
|
|||
Disjunction,
|
||||
}
|
||||
|
||||
impl Junction {
|
||||
pub impl Junction {
|
||||
fn to_binop(self) -> binop {
|
||||
match self {
|
||||
Conjunction => and,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue