mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
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
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue