From f2d2685f7f93d4e1bdfa79e729fde3635ffac32f Mon Sep 17 00:00:00 2001 From: jwcesign Date: Tue, 19 Mar 2024 10:52:35 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E6=98=8E=E7=A1=AE=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=EF=BC=8C=E9=81=BF=E5=85=8D=E8=AF=BB=E8=80=85?= =?UTF-8?q?=E7=96=91=E6=83=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit doc: 明确运行命令,避免读者疑惑 --- src/basic/crate-module/module.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/crate-module/module.md b/src/basic/crate-module/module.md index c9785104..6fd56006 100644 --- a/src/basic/crate-module/module.md +++ b/src/basic/crate-module/module.md @@ -174,7 +174,7 @@ pub fn eat_at_restaurant() { } ``` -意料之外的报错了,毕竟看上去确实很简单且没有任何问题: +运行 `cargo build` 编译此库类型的 `Package`,意料之外的报错了,毕竟看上去确实很简单且没有任何问题: ```console error[E0603]: module `hosting` is private