From 06d4a5640b02cb97a58c0bcde45cda5dd9e2e60a Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Wed, 2 Mar 2022 22:38:38 -0500 Subject: [PATCH] docs: fix doc comment --- packages/router/src/components/redirect.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/router/src/components/redirect.rs b/packages/router/src/components/redirect.rs index d99ca5088..b4261b0d4 100644 --- a/packages/router/src/components/redirect.rs +++ b/packages/router/src/components/redirect.rs @@ -18,7 +18,7 @@ pub struct RedirectProps<'a> { /// ``` pub to: &'a str, - /// The route to link to. This can be a relative path, or a full URL. + /// The route to link from. This can be a relative path, or a full URL. /// /// ```rust /// // Absolute path