We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
hint::black_box
1 parent 89c2e3d commit 44c9818Copy full SHA for 44c9818
library/core/src/hint.rs
@@ -287,7 +287,7 @@ pub fn spin_loop() {
287
/// - Treats the call to `contains` and its result as volatile: the body of `benchmark` cannot
288
/// optimize this away
289
///
290
-/// This makes our benchmark much more realistic to how the function would be used in situ, where
+/// This makes our benchmark much more realistic to how the function would actually be used, where
291
/// arguments are usually not known at compile time and the result is used in some way.
292
#[inline]
293
#[stable(feature = "bench_black_box", since = "1.66.0")]
0 commit comments