Explorar el Código

docs: fix doc comment

Jonathan Kelley hace 3 años
padre
commit
06d4a5640b
Se han modificado 1 ficheros con 1 adiciones y 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