From 50d6e5b605e350a7520f8fd0649640c0499f2283 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Wed, 27 Mar 2024 20:58:35 +0200 Subject: [PATCH] typo --- src/editions/advanced-migrations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editions/advanced-migrations.md b/src/editions/advanced-migrations.md index a1a5d807..d2f07b0e 100644 --- a/src/editions/advanced-migrations.md +++ b/src/editions/advanced-migrations.md @@ -55,7 +55,7 @@ Sometimes the fixes suggested by the compiler may fail to work. When this happens, Cargo will report a warning indicating what happened and what the error was. However, by default it will automatically back out the changes it made. It can be helpful to keep the code in the broken state and manually resolve the issue. -Some of the fixes may have been correct, and the broken fix maybe be *mostly* correct, but just need minor tweaking. +Some of the fixes may have been correct, and the broken fix may be *mostly* correct, but just need minor tweaking. In this situation, use the `--broken-code` option with `cargo fix` to tell Cargo not to back out the changes. Then, you can go manually inspect the error and investigate what is needed to fix it.