Răsfoiți Sursa

fix router macro docs

Evan Almloff 2 ani în urmă
părinte
comite
8d166cf40d
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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"