1
Fork 0

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