about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-01-02 19:57:19 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-01-02 19:57:19 +0100
commitd202b595065b9f20c07d3abc72c47f506f4491f0 (patch)
treefaec698ad5dc0d5f11fd0d70154e7c0015ea61e9
parent0a58f5864659ddfe1d95c122abaa75c88220aed0 (diff)
downloadrust-d202b595065b9f20c07d3abc72c47f506f4491f0.tar.gz
rust-d202b595065b9f20c07d3abc72c47f506f4491f0.zip
Clean up E0130 error explanation
-rw-r--r--src/librustc_error_codes/error_codes/E0130.md4
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 {