doc: Remove pub from trait definition in foo lint example

This commit is contained in:
Lzu Tao 2019-06-01 19:51:49 +07:00
parent f3087c37bf
commit 7f8e7c0772

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