From 8beb3c7893e463897188be63e650ee5686972db6 Mon Sep 17 00:00:00 2001 From: Andrew Voynov Date: Sun, 4 Feb 2024 22:39:04 +0300 Subject: [PATCH] chore(docs): fixed typo in router-macro --- 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 b7ae6505f..f6e35723e 100644 --- a/packages/router-macro/src/lib.rs +++ b/packages/router-macro/src/lib.rs @@ -162,7 +162,7 @@ mod segment; /// /// # `#[layout(component)]` /// -/// The `#[layout]` attribute is used to define a layout. It takes 1 parameters: +/// The `#[layout]` attribute is used to define a layout. It takes 1 parameter: /// - `component`: The component to render when the route is matched. If not specified, the name of the variant is used /// /// The layout component allows you to wrap all children of the layout in a component. The child routes are rendered in the Outlet of the layout component. The layout component must take all dynamic parameters of the nests it is nested in.