Skip to content

Commit 96224dd

Browse files
authored
Unrolled build for rust-lang#116350
Rollup merge of rust-lang#116350 - Nilstrieb:in-situ, r=Dylan-DPC Improve wording of `hint::black_box` docs The wording is a bit confusing. squash of rust-lang#109634
2 parents 8e47113 + 44c9818 commit 96224dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/hint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ pub fn spin_loop() {
277277
/// - Treats the call to `contains` and its result as volatile: the body of `benchmark` cannot
278278
/// optimize this away
279279
///
280-
/// This makes our benchmark much more realistic to how the function would be used in situ, where
280+
/// This makes our benchmark much more realistic to how the function would actually be used, where
281281
/// arguments are usually not known at compile time and the result is used in some way.
282282
#[inline]
283283
#[stable(feature = "bench_black_box", since = "1.66.0")]

0 commit comments

Comments
 (0)