Skip to content

Commit 18cb318

Browse files
committed
chore: remove repetitive words
Signed-off-by: pavedroad <[email protected]>
1 parent 5aad51d commit 18cb318

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compiler/rustc_mir_transform/src/ffi_unwind_calls.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use rustc_target::spec::PanicStrategy;
1111
use crate::errors;
1212

1313
/// Some of the functions declared as "may unwind" by `fn_can_unwind` can't actually unwind. In
14-
/// particular, `extern "C"` is still considered as can-unwind on stable, but we need to to consider
14+
/// particular, `extern "C"` is still considered as can-unwind on stable, but we need to consider
1515
/// it cannot-unwind here. So below we check `fn_can_unwind() && abi_can_unwind()` before concluding
1616
/// that a function call can unwind.
1717
fn abi_can_unwind(abi: Abi) -> bool {

src/doc/rustc/src/platform-support/unknown-uefi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ single stack.
5151
By default, the UEFI targets use the `link`-flavor of the LLVM linker `lld` to
5252
link binaries into the final PE32+ file suffixed with `*.efi`. The PE subsystem
5353
is set to `EFI_APPLICATION`, but can be modified by passing `/subsystem:<...>`
54-
to the linker. Similarly, the entry-point is to to `efi_main` but can be
54+
to the linker. Similarly, the entry-point is to `efi_main` but can be
5555
changed via `/entry:<...>`. The panic-strategy is set to `abort`,
5656

5757
The UEFI specification is available online for free:

tests/ui/type-alias-impl-trait/in-where-clause.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! We evaluate `1 + 2` with `Reveal::All` during typeck, causing
2-
//! us to to get the concrete type of `Bar` while computing it.
2+
//! us to get the concrete type of `Bar` while computing it.
33
//! This again requires type checking `foo`.
44
#![feature(type_alias_impl_trait)]
55
type Bar = impl Sized;

0 commit comments

Comments
 (0)