소스 검색

fix router macro docs

Evan Almloff 2 년 전
부모
커밋
8d166cf40d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/router-macro/src/lib.rs

+ 1 - 1
packages/router-macro/src/lib.rs

@@ -26,7 +26,7 @@ mod segment;
 /// Each variant must:
 /// 1. Be struct-like with {}'s
 /// 2. Contain all of the dynamic parameters of the current and nested routes
-/// 3. Have a #[route("route")] attribute
+/// 3. Have a `#[route("route")]` attribute
 ///
 /// Route Segments:
 /// 1. Static Segments: "/static"