Explorar o código

docs: fix doc comment

Jonathan Kelley %!s(int64=3) %!d(string=hai) anos
pai
achega
06d4a5640b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/router/src/components/redirect.rs

+ 1 - 1
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