Skip to content

Commit

Permalink
Merge pull request rust-lang#127 from azriel91/patch-1
Browse files Browse the repository at this point in the history
Fixed typo in transitioning page.
  • Loading branch information
Centril authored Dec 7, 2018
2 parents 419edb8 + f13a902 commit 4de2b79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ trait Foo {

It's re-written our code to introduce a parameter name for that trait object.
In this case, since it had no name, `cargo fix` will replace it with `_`,
which is conventional for unusued variables.
which is conventional for unused variables.

`cargo fix` is still pretty new, and so it can't always fix your code automatically.
If `cargo fix` can't fix something, it will print the warning that it cannot fix
Expand Down

0 comments on commit 4de2b79

Please sign in to comment.