1
Fork 0

Rollup merge of #127230 - hattizai:patch01, r=saethlin

chore: remove duplicate words

remove duplicate words in comments to improve readability.
This commit is contained in:
Matthias Krüger 2024-07-02 17:47:50 +02:00 committed by GitHub
commit a10c231118
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 26 additions and 26 deletions

View file

@ -4114,7 +4114,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
expr = binding_expr;
}
if let hir::Node::Param(param) = parent {
// ...and it is a an fn argument.
// ...and it is an fn argument.
let prev_ty = self.resolve_vars_if_possible(
typeck_results
.node_type_opt(param.hir_id)

View file

@ -1296,7 +1296,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
expr = binding_expr;
}
if let hir::Node::Param(_param) = parent {
// ...and it is a an fn argument.
// ...and it is an fn argument.
break;
}
}