Skip to content

Commit 6adc37e

Browse files
Rollup merge of #57295 - d-e-s-o:topic/be-be, r=zackmdavis
Fix 'be be' constructs I noticed a duplicated "be" somewhere in the code. A search for it manifested a couple more locations with the same problem. This change removes one of the "be"s.
2 parents 5508d36 + a944ecf commit 6adc37e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/librustc/lint/levels.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ impl<'a> LintLevelsBuilder<'a> {
173173

174174
/// Pushes a list of AST lint attributes onto this context.
175175
///
176-
/// This function will return a `BuilderPush` object which should be be
177-
/// passed to `pop` when this scope for the attributes provided is exited.
176+
/// This function will return a `BuilderPush` object which should be passed
177+
/// to `pop` when this scope for the attributes provided is exited.
178178
///
179179
/// This function will perform a number of tasks:
180180
///

src/librustc/ty/query/plumbing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ macro_rules! define_queries_inner {
974974
// HACK(eddyb) it's possible crates may be loaded after
975975
// the query engine is created, and because crate loading
976976
// is not yet integrated with the query engine, such crates
977-
// would be be missing appropriate entries in `providers`.
977+
// would be missing appropriate entries in `providers`.
978978
.unwrap_or(&tcx.queries.fallback_extern_providers)
979979
.$name;
980980
provider(tcx.global_tcx(), key)

src/librustc_typeck/check/closure.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ impl<'a, 'gcx, 'tcx> FnCtxt<'a, 'gcx, 'tcx> {
494494
self.infcx.commit_if_ok(|_| {
495495
let mut all_obligations = vec![];
496496

497-
// The liberated version of this signature should be be a subtype
497+
// The liberated version of this signature should be a subtype
498498
// of the liberated form of the expectation.
499499
for ((hir_ty, &supplied_ty), expected_ty) in decl.inputs.iter()
500500
.zip(*supplied_sig.inputs().skip_binder()) // binder moved to (*) below

0 commit comments

Comments
 (0)