Skip to content

Commit 5a4d310

Browse files
authored
Merge pull request #1519 from zhanluxianshen/typos
fix feature typos
2 parents 8c94bc6 + 5e14c8a commit 5a4d310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/reference/features/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ parallel = ["jpeg-decoder/rayon"]
146146

147147
<img src="https://pic2.zhimg.com/80/v2-251973b0cc83f35cd6858bf21dd00ed6_1440w.png" />
148148

149-
由于这种不可控性,我们需要让 `启用feature = 添加特性` 这个等式成立,换而言之,**启用一个 feature 不应该导致某个功能被禁止**这样才能的让多个包启用同一个依赖的不同 features。
149+
由于这种不可控性,我们需要让 `启用feature = 添加特性` 这个等式成立,换而言之,**启用一个 feature 不应该导致某个功能被禁止**这样才能让多个包启用同一个依赖的不同 features。
150150

151151
例如,如果我们想可选的支持 `no_std` 环境(不使用标准库),那么有两种做法:
152152

0 commit comments

Comments
 (0)