Skip to content

Commit

Permalink
Merge pull request #296 from tshepang/patch-1
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
ehuss authored Mar 27, 2024
2 parents 7ffa639 + 50d6e5b commit f7756e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editions/advanced-migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f7756e2

Please sign in to comment.