diff options
| author | Evie M <14899090+eievui5@users.noreply.github.com> | 2023-03-25 19:57:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-25 19:57:46 -0400 |
| commit | 323551abb1e4a34a9e9e81ebcc49e5224af8a5cb (patch) | |
| tree | e3ecb948bde91764f9b89a0b6df13eabae274528 | |
| parent | 0c61c7a978fe9f7b77a1d667c77d2202dadd1c10 (diff) | |
| download | rust-323551abb1e4a34a9e9e81ebcc49e5224af8a5cb.tar.gz rust-323551abb1e4a34a9e9e81ebcc49e5224af8a5cb.zip | |
Correct typo (`back_box` -> `black_box`)
| -rw-r--r-- | library/core/src/hint.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/hint.rs b/library/core/src/hint.rs index ee13dae60b1..a205565773a 100644 --- a/library/core/src/hint.rs +++ b/library/core/src/hint.rs @@ -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: |
