소스 검색

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