document why matching route doctest is ignored
This commit is contained in:
1 file changed
+1
@@ -135,6 +135,7 @@ impl<T: Clone> Segment<T> {
|
|||||||
/// Add a matching [`ParameterRoute`] to the [`Segment`].
|
/// Add a matching [`ParameterRoute`] to the [`Segment`].
|
||||||
///
|
///
|
||||||
/// ```rust,ignore
|
/// ```rust,ignore
|
||||||
|
/// # // Test is ignored because there are scenarios where no matcher is available.
|
||||||
/// # use dioxus_router_core::routes::Segment;
|
/// # use dioxus_router_core::routes::Segment;
|
||||||
/// Segment::empty().matching("some matcher", (true, ContentAtom("matching route content")));
|
/// Segment::empty().matching("some matcher", (true, ContentAtom("matching route content")));
|
||||||
/// ```
|
/// ```
|
||||||
|
|||||||
Reference in new issue
Block a user