Skip to content

Commit b052fbb

Browse files
matkladCentril
andauthored
Apply suggestions from code review
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent 8175a1f commit b052fbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcore/macros.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ macro_rules! assert_ne {
149149
/// `debug_assert!` statements unless `-C debug-assertions` is passed to the
150150
/// compiler. This makes `debug_assert!` useful for checks that are too
151151
/// expensive to be present in a release build but may be helpful during
152-
/// development. `debug_assert!` statements are always type checked.
152+
/// development. The result of expanding `debug_assert!` is always type checked.
153153
///
154154
/// An unchecked assertion allows a program in an inconsistent state to keep
155155
/// running, which might have unexpected consequences but does not introduce
@@ -194,7 +194,7 @@ macro_rules! debug_assert {
194194
/// `debug_assert_eq!` statements unless `-C debug-assertions` is passed to the
195195
/// compiler. This makes `debug_assert_eq!` useful for checks that are too
196196
/// expensive to be present in a release build but may be helpful during
197-
/// development. `debug_assert_eq!` statements are always type checked.
197+
/// development. The result of expanding `debug_assert_eq!` is always type checked.
198198
///
199199
/// [`assert_eq!`]: ../std/macro.assert_eq.html
200200
///
@@ -221,7 +221,7 @@ macro_rules! debug_assert_eq {
221221
/// `debug_assert_ne!` statements unless `-C debug-assertions` is passed to the
222222
/// compiler. This makes `debug_assert_ne!` useful for checks that are too
223223
/// expensive to be present in a release build but may be helpful during
224-
/// development. `debug_assert_ne!` statements are always type checked.
224+
/// development. The result of expanding `debug_assert_ne!` is always type checked.
225225
///
226226
/// [`assert_ne!`]: ../std/macro.assert_ne.html
227227
///

0 commit comments

Comments
 (0)