File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ where
183183
184184/// This trait represents the kind of containers that is required for a particular algorithm to function
185185#[ cfg( feature="traits" ) ]
186+ #[ cfg_attr( docsrs, doc( cfg( feature = "traits" ) ) ) ]
186187pub trait AlgorithmContainer {
187188 /// Any kind of contiguous container
188189 ///
@@ -202,6 +203,7 @@ pub trait AlgorithmContainer {
202203
203204/// Union operation
204205#[ cfg( feature="traits" ) ]
206+ #[ cfg_attr( docsrs, doc( cfg( feature = "traits" ) ) ) ]
205207pub trait Union < T >
206208where
207209 T : VertexType ,
@@ -216,6 +218,7 @@ where
216218
217219/// Find operation
218220#[ cfg( feature="traits" ) ]
221+ #[ cfg_attr( docsrs, doc( cfg( feature = "traits" ) ) ) ]
219222pub trait Find < T >
220223where
221224 T : VertexType ,
@@ -225,6 +228,7 @@ where
225228
226229/// Connected operation
227230#[ cfg( feature="traits" ) ]
231+ #[ cfg_attr( docsrs, doc( cfg( feature = "traits" ) ) ) ]
228232pub trait Connected < T >
229233where
230234 T : VertexType ,
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ pub struct Unweighted<const IS_SLICE: bool = false>;
1818
1919/// Heuristic for quick union algorithm
2020#[ cfg( feature = "traits" ) ]
21+ #[ cfg_attr( docsrs, doc( cfg( feature = "traits" ) ) ) ]
2122pub trait Heuristic {
2223 fn handle_decision < T > (
2324 a : T :: IdentifierType ,
You can’t perform that action at this time.
0 commit comments