Rollup merge of #66798 - bwignall:typo, r=varkor
Fix spelling typos Should be non-semantic. Uses https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines to find likely typos.
This commit is contained in:
@@ -113,7 +113,7 @@ pub fn spin_loop() {
|
||||
pub fn black_box<T>(dummy: T) -> T {
|
||||
// We need to "use" the argument in some way LLVM can't introspect, and on
|
||||
// targets that support it we can typically leverage inline assembly to do
|
||||
// this. LLVM's intepretation of inline assembly is that it's, well, a black
|
||||
// this. LLVM's interpretation of inline assembly is that it's, well, a black
|
||||
// box. This isn't the greatest implementation since it probably deoptimizes
|
||||
// more than we want, but it's so far good enough.
|
||||
unsafe {
|
||||
|
||||
@@ -1279,7 +1279,7 @@ extern "rust-intrinsic" {
|
||||
/// undefined behavior when `x + y > T::max_value()` or `x + y < T::min_value()`.
|
||||
pub fn unchecked_add<T>(x: T, y: T) -> T;
|
||||
|
||||
/// Returns the result of an unchecked substraction, resulting in
|
||||
/// Returns the result of an unchecked subtraction, resulting in
|
||||
/// undefined behavior when `x - y > T::max_value()` or `x - y < T::min_value()`.
|
||||
pub fn unchecked_sub<T>(x: T, y: T) -> T;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user