Run Dogfood for use_self
This commit is contained in:
parent
3eab44acb1
commit
2430e06a60
17 changed files with 44 additions and 39 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue