diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-01-02 19:57:19 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-01-02 19:57:19 +0100 |
| commit | d202b595065b9f20c07d3abc72c47f506f4491f0 (patch) | |
| tree | faec698ad5dc0d5f11fd0d70154e7c0015ea61e9 | |
| parent | 0a58f5864659ddfe1d95c122abaa75c88220aed0 (diff) | |
| download | rust-d202b595065b9f20c07d3abc72c47f506f4491f0.tar.gz rust-d202b595065b9f20c07d3abc72c47f506f4491f0.zip | |
Clean up E0130 error explanation
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0130.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0130.md b/src/librustc_error_codes/error_codes/E0130.md index 5273f3ad14f..539049edb33 100644 --- a/src/librustc_error_codes/error_codes/E0130.md +++ b/src/librustc_error_codes/error_codes/E0130.md @@ -1,4 +1,4 @@ -You declared a pattern as an argument in a foreign function declaration. +A pattern was declared as an argument in a foreign function declaration. Erroneous code example: @@ -9,7 +9,7 @@ extern { } ``` -Please replace the pattern argument with a regular one. Example: +To fix this error, replace the pattern argument with a regular one. Example: ``` struct SomeStruct { |
