소스 검색

fix layout reference docs

Evan Almloff 2 년 전
부모
커밋
7e3c45eb7e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      docs/router/src/reference/layouts.md

+ 2 - 2
docs/router/src/reference/layouts.md

@@ -1,8 +1,8 @@
 # Layouts
 
-Layouts allow you to 
+Layouts allow you to wrap all child routes in a component. This can be useful when creating something like a header that will be used in many different routes.
 
-[`Outlet`]s tell the router where to render content in layouts. In the following example,
+[`Outlet`] tells the router where to render content in layouts. In the following example,
 the Index will be rendered within the [`Outlet`].
 
 ```rust, no_run