diff options
| author | Josh Stone <jistone@redhat.com> | 2023-11-28 17:12:20 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2023-11-28 17:12:20 -0800 |
| commit | b8cdd4338daa127f2ed0bb6e1d8f666b7e2a6c2f (patch) | |
| tree | 1da8e8cdb1fc9b8a4556895aa7526f58047c571f /compiler/rustc_borrowck | |
| parent | bbefc9837f4157cc09ed60e6d7b21e345d582dd9 (diff) | |
| download | rust-b8cdd4338daa127f2ed0bb6e1d8f666b7e2a6c2f.tar.gz rust-b8cdd4338daa127f2ed0bb6e1d8f666b7e2a6c2f.zip | |
Fix a typo in a `format_args!` note
Diffstat (limited to 'compiler/rustc_borrowck')
| -rw-r--r-- | compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs b/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs index 9225f19876d..ef4bf543454 100644 --- a/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs +++ b/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs @@ -2352,7 +2352,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> { Applicability::MaybeIncorrect, ); } else { - err.note("the result of `format_args!` can only be assigned directly if no placeholders in it's arguments are used"); + err.note("the result of `format_args!` can only be assigned directly if no placeholders in its arguments are used"); err.note("to learn more, visit <https://doc.rust-lang.org/std/macro.format_args.html>"); } suggested = true; |
