Преглед на файлове

document why matching route doctest is ignored

Adrian Wannenmacher преди 2 години
родител
ревизия
0b7384ddf2
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      packages/router-core/src/routes/segment.rs

+ 1 - 0
packages/router-core/src/routes/segment.rs

@@ -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")));
     /// ```