Rollup merge of #139366 - RalfJung:ToSocketAddrs, r=jieyouxu
ToSocketAddrs: fix typo It's "a function", never "an function". I noticed the same typo somewhere in the compiler sources so figured I'd fix it there as well.
This commit is contained in:
commit
fa7d66eaaa
2 changed files with 2 additions and 2 deletions
|
@ -969,7 +969,7 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {
|
|||
}
|
||||
};
|
||||
|
||||
// If we can detect the expression to be an function or method call where the closure was
|
||||
// If we can detect the expression to be a function or method call where the closure was
|
||||
// an argument, we point at the function or method definition argument...
|
||||
if let Some((callee_def_id, call_span, call_args)) = get_call_details() {
|
||||
let arg_pos = call_args
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue