Rollup merge of #109620 - eievui5:patch-1, r=compiler-errors

Correct typo (`back_box` -> `black_box`)
This commit is contained in:
Matthias Krüger 2023-03-26 08:39:28 +02:00 committed by GitHub
commit 776a8f4eca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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