about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNaoki Hayama <naoki.hayama0630@gmail.com>2020-10-10 18:02:53 +0900
committerNaoki Hayama <naoki.hayama0630@gmail.com>2020-10-10 18:02:53 +0900
commit55e92f913a6d3368dcc6e7734ec84563da0226ca (patch)
tree1b22f55ba64f361e2c04f4523f6eca036f35d32a
parent38d911dfc55a7a1eea1c80139113ed2ff0151087 (diff)
downloadrust-55e92f913a6d3368dcc6e7734ec84563da0226ca.tar.gz
rust-55e92f913a6d3368dcc6e7734ec84563da0226ca.zip
Fix typo in error code description
s/abitrary/arbitrary/
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0424.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0424.md b/compiler/rustc_error_codes/src/error_codes/E0424.md
index a9f6f579b42..a58c16b59e9 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0424.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0424.md
@@ -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`