Run Dogfood for use_self

This commit is contained in:
Oliver Schneider 2017-08-21 13:32:12 +02:00
parent 3eab44acb1
commit 2430e06a60
17 changed files with 44 additions and 39 deletions

View file

@ -56,14 +56,14 @@ pub struct MissingDoc {
}
impl ::std::default::Default for MissingDoc {
fn default() -> MissingDoc {
MissingDoc::new()
fn default() -> Self {
Self::new()
}
}
impl MissingDoc {
pub fn new() -> MissingDoc {
MissingDoc { doc_hidden_stack: vec![false] }
pub fn new() -> Self {
Self { doc_hidden_stack: vec![false] }
}
fn doc_hidden(&self) -> bool {