doc: Remove pub
from trait definition in foo lint example
This commit is contained in:
parent
f3087c37bf
commit
7f8e7c0772
1 changed files with 3 additions and 3 deletions
|
@ -57,9 +57,9 @@ impl A {
|
||||||
|
|
||||||
// Default trait methods
|
// Default trait methods
|
||||||
trait B {
|
trait B {
|
||||||
pub fn fo(&self) {}
|
fn fo(&self) {}
|
||||||
pub fn foo(&self) {}
|
fn foo(&self) {}
|
||||||
pub fn food(&self) {}
|
fn food(&self) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Plain functions
|
// Plain functions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue