diff options
| author | Dezhi Wu <wu543065657@163.com> | 2022-08-18 10:13:37 +0800 | 
|---|---|---|
| committer | Dezhi Wu <wu543065657@163.com> | 2022-08-31 18:24:55 +0800 | 
| commit | b1430fb7ca499d517d9f4b3b6c5a81442129c88b (patch) | |
| tree | ff8f7fbd60789774143168b08862f8edfdcf8526 /src/test/ui/allocator/no_std-alloc-error-handler-default.rs | |
| parent | 7f442f8ba174fd4233a14ef4d7b577aa907db594 (diff) | |
| download | rust-b1430fb7ca499d517d9f4b3b6c5a81442129c88b.tar.gz rust-b1430fb7ca499d517d9f4b3b6c5a81442129c88b.zip | |
Fix a bunch of typo
This PR will fix some typos detected by [typos]. I only picked the ones I was sure were spelling errors to fix, mostly in the comments. [typos]: https://github.com/crate-ci/typos
Diffstat (limited to 'src/test/ui/allocator/no_std-alloc-error-handler-default.rs')
| -rw-r--r-- | src/test/ui/allocator/no_std-alloc-error-handler-default.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/test/ui/allocator/no_std-alloc-error-handler-default.rs b/src/test/ui/allocator/no_std-alloc-error-handler-default.rs index ffa331a992c..30ce0f162c7 100644 --- a/src/test/ui/allocator/no_std-alloc-error-handler-default.rs +++ b/src/test/ui/allocator/no_std-alloc-error-handler-default.rs @@ -73,7 +73,7 @@ fn panic(panic_info: &core::panic::PanicInfo) -> ! { // Because we are compiling this code with `-C panic=abort`, this wouldn't normally be needed. // However, `core` and `alloc` are both compiled with `-C panic=unwind`, which means that functions -// in these libaries will refer to `rust_eh_personality` if LLVM can not *prove* the contents won't +// in these libraries will refer to `rust_eh_personality` if LLVM can not *prove* the contents won't // unwind. So, for this test case we will define the symbol. #[lang = "eh_personality"] extern fn rust_eh_personality() {} | 
