Browse Source

docs: fix doc comment

Jonathan Kelley 3 năm trước cách đây
mục cha
commit
06d4a5640b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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