From 9c8160b14a3b7110c65a8d064e02ace61e3a7b04 Mon Sep 17 00:00:00 2001 From: h3n4l Date: Tue, 15 Nov 2022 23:34:52 +0800 Subject: [PATCH] docs: update why-exercise.md --- zh-CN/src/why-exercise.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-CN/src/why-exercise.md b/zh-CN/src/why-exercise.md index 3f243e3..1cb96e5 100644 --- a/zh-CN/src/why-exercise.md +++ b/zh-CN/src/why-exercise.md @@ -24,11 +24,11 @@ 我们使用 [mdbook](https://rust-lang.github.io/mdBook/) 构建在线练习题,你也可以下载到本地运行: ```shell $ cargo install mdbook -$ cd rust-by-practice && mdbook serve +$ cd rust-by-practice && mdbook serve zh-CN/ ``` 在本地win 10或者linux服务器上运行时,应当使用 -n 参数指定mdbook服务所监听的IP地址(-p 参数指定服务监听的端口,不指定则为默认的3000),以win 10本地运行为例: ```shell -$ mdbook serve -p 8888 -n 127.0.0.1 +$ mdbook serve -p 8888 -n 127.0.0.1 zh-CN/ ``` ## 特性