From 8d166cf40da19fb2587b2b9ca616c3c2b084c368 Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Thu, 13 Jul 2023 16:33:53 -0700 Subject: [PATCH] fix router macro docs --- packages/router-macro/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/router-macro/src/lib.rs b/packages/router-macro/src/lib.rs index dd3530bb9..123913bc6 100644 --- a/packages/router-macro/src/lib.rs +++ b/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"