rustdoc: Remove default keyword from re-exported trait methods
This commit is contained in:
parent
9a612b2348
commit
1db76c1bff
5 changed files with 67 additions and 16 deletions
|
@ -0,0 +1,16 @@
|
|||
#![feature(specialization)]
|
||||
|
||||
#![crate_name = "foo"]
|
||||
|
||||
pub trait Item {
|
||||
fn foo();
|
||||
fn bar();
|
||||
fn baz() {}
|
||||
}
|
||||
|
||||
pub struct Foo;
|
||||
|
||||
impl Item for Foo {
|
||||
default fn foo() {}
|
||||
fn bar() {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue