Skip to content

Commit 776a8f4

Browse files
authored
Rollup merge of #109620 - eievui5:patch-1, r=compiler-errors
Correct typo (`back_box` -> `black_box`)
2 parents 705435f + 323551a commit 776a8f4

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
@@ -228,7 +228,7 @@ pub fn spin_loop() {
228228
/// This _immediately_ precludes any direct use of this function for cryptographic or security
229229
/// purposes.
230230
///
231-
/// While not suitable in those mission-critical cases, `back_box`'s functionality can generally be
231+
/// While not suitable in those mission-critical cases, `black_box`'s functionality can generally be
232232
/// relied upon for benchmarking, and should be used there. It will try to ensure that the
233233
/// compiler doesn't optimize away part of the intended test code based on context. For
234234
/// example:

0 commit comments

Comments
 (0)