Skip to content

Commit

Permalink
Rollup merge of rust-lang#77782 - nhayama:fix-typo, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix typo in error code description

s/abitrary/arbitrary/
  • Loading branch information
JohnTitor authored Oct 10, 2020
2 parents e93bfae + 55e92f9 commit 9e7e0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_error_codes/src/error_codes/E0424.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl Foo {
The `self` keyword can only be used inside methods, which are associated
functions (functions defined inside of a `trait` or `impl` block) that have a
`self` receiver as its first parameter, like `self`, `&self`, `&mut self` or
`self: &mut Pin<Self>` (this last one is an example of an ["abitrary `self`
`self: &mut Pin<Self>` (this last one is an example of an ["arbitrary `self`
type"](https://github.com/rust-lang/rust/issues/44874)).

Check if the associated function's parameter list should have contained a `self`
Expand Down

0 comments on commit 9e7e0e7

Please sign in to comment.