소스 검색

docs: fix doc comment

Jonathan Kelley 3 년 전
부모
커밋
06d4a5640b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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