document why matching route doctest is ignored

This commit is contained in:
Adrian Wannenmacher committed 2023-04-11 19:58:28 +02:00
1 parent 00174d4f46
commit 0b7384ddf2
1 file changed
+1
@@ -135,6 +135,7 @@ impl<T: Clone> Segment<T> {
/// Add a matching [`ParameterRoute`] to the [`Segment`].
///
/// ```rust,ignore
/// # // Test is ignored because there are scenarios where no matcher is available.
/// # use dioxus_router_core::routes::Segment;
/// Segment::empty().matching("some matcher", (true, ContentAtom("matching route content")));
/// ```