Skip to content

Commit 582a593

Browse files
committed
chore: format fix
1 parent c6d5c1a commit 582a593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conditional-compilation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
> _ConfigurationPredicateList_\
2727
> &nbsp;&nbsp; _ConfigurationPredicate_ (`,` _ConfigurationPredicate_)<sup>\*</sup> `,`<sup>?</sup>
2828
29-
根据某些条件,<!-- 这个定义有点空洞 --> *条件性编译的源代码(Conditionally compiled source code)*可以被认为是 crate 源代码的一部分,也可以不被认为是 crate 源代码的一部分。可以使用[属性][attributes] [`cfg`][`cfg_attr`] 以及内置的 [`cfg` macro] 来有条件地对源代码进行编译。这些条件可以基于被编译的 crate 的目标架构、传递给编译器的值,以及下面将详细描述的一些其他事项。
29+
根据某些条件,<!-- 这个定义有点空洞 --> *条件性编译的源代码(Conditionally compiled source code)* 可以被认为是 crate 源代码的一部分,也可以不被认为是 crate 源代码的一部分。可以使用[属性][attributes] [`cfg`][`cfg_attr`] 以及内置的 [`cfg` macro] 来有条件地对源代码进行编译。这些条件可以基于被编译的 crate 的目标架构、传递给编译器的值,以及下面将详细描述的一些其他事项。
3030

3131
每种形式的编译条件都有一个计算结果为真或假的*配置谓词(configuration predicate)*。谓词是以下内容之一:
3232

0 commit comments

Comments
 (0)