Skip to content

Commit 612fe9f

Browse files
authored
Rollup merge of rust-lang#77782 - nhayama:fix-typo, r=jonas-schievink
Fix typo in error code description s/abitrary/arbitrary/
2 parents 82c538c + 55e92f9 commit 612fe9f

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+1
-1
lines changed

compiler/rustc_error_codes/src/error_codes/E0424.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ impl Foo {
2121
The `self` keyword can only be used inside methods, which are associated
2222
functions (functions defined inside of a `trait` or `impl` block) that have a
2323
`self` receiver as its first parameter, like `self`, `&self`, `&mut self` or
24-
`self: &mut Pin<Self>` (this last one is an example of an ["abitrary `self`
24+
`self: &mut Pin<Self>` (this last one is an example of an ["arbitrary `self`
2525
type"](https://github.com/rust-lang/rust/issues/44874)).
2626

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

0 commit comments

Comments
 (0)