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:
bors 2019-06-03 07:59:30 +00:00
commit 4b45bd94fe

View file

@ -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