Skip to content

Commit 1b4b8dd

Browse files
committed
body --> block
1 parent efce789 commit 1b4b8dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
116116

117117
#[cfg(feature = "const_assert")]
118-
/// Places the expression or body in an inline `const` block if the `const_assert` feature flag is enabled, otherwise does nothing.
118+
/// Places the expression or block in an inline `const` block if the `const_assert` feature flag is enabled, otherwise does nothing.
119119
///
120120
/// Since the stability of inline const is checked early in compilation,
121121
/// before it can be `#[cfg]`ed away, Rust versions before 1.79.0 could not compile the following code:
@@ -135,7 +135,7 @@ macro_rules! feature_gated_inline_const {
135135
};
136136
}
137137
#[cfg(not(feature = "const_assert"))]
138-
/// Places the expression or body in an inline `const` block if the `const_assert` feature flag is enabled, otherwise does nothing.
138+
/// Places the expression or block in an inline `const` block if the `const_assert` feature flag is enabled, otherwise does nothing.
139139
///
140140
/// Since the stability of inline const is checked early in compilation,
141141
/// before it can be `#[cfg]`ed away, Rust versions before 1.79.0 could not compile the following code:

0 commit comments

Comments
 (0)