about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-04-04 14:47:04 +0200
committerRalf Jung <post@ralfj.de>2025-04-04 14:47:04 +0200
commit0f12a2c4ad6ebc7f74e682be819f0d61d8d27c57 (patch)
treeb41a35d1905a295becbcb1b7308364e5c40263c8 /compiler
parente0883a2a6c8e4afcb6e26a182885f687ba63a7f5 (diff)
downloadrust-0f12a2c4ad6ebc7f74e682be819f0d61d8d27c57.tar.gz
rust-0f12a2c4ad6ebc7f74e682be819f0d61d8d27c57.zip
ToSocketAddrs: fix typo
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_borrowck/src/diagnostics/mutability_errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/diagnostics/mutability_errors.rs b/compiler/rustc_borrowck/src/diagnostics/mutability_errors.rs
index fddddf404db..56cc4327585 100644
--- a/compiler/rustc_borrowck/src/diagnostics/mutability_errors.rs
+++ b/compiler/rustc_borrowck/src/diagnostics/mutability_errors.rs
@@ -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