Auto merge of #4163 - lzutao:doc-fix-foo-example, r=phansch
doc: Remove `pub` from trait definition in foo lint example changelog: none
This commit is contained in:
commit
4b45bd94fe
@ -57,9 +57,9 @@ impl A {
|
||||
|
||||
// Default trait methods
|
||||
trait B {
|
||||
pub fn fo(&self) {}
|
||||
pub fn foo(&self) {}
|
||||
pub fn food(&self) {}
|
||||
fn fo(&self) {}
|
||||
fn foo(&self) {}
|
||||
fn food(&self) {}
|
||||
}
|
||||
|
||||
// Plain functions
|
||||
|
Loading…
Reference in New Issue
Block a user