Skip to content

Commit 3dfc5ea

Browse files
committed
Add MyLocalStruct
This clearly shows that implementors local to the trait-defining crate get linked to, while implementors that are downstream do not get links.
1 parent e27ed4e commit 3dfc5ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crate_a/src/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
pub trait MyTrait {}
2+
3+
pub struct MyLocalStruct;
4+
5+
impl MyTrait for MyLocalStruct {}

0 commit comments

Comments
 (0)