Skip to content

Commit d202b59

Browse files
Clean up E0130 error explanation
1 parent 0a58f58 commit d202b59

File tree

1 file changed

+2
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+2
-2
lines changed

src/librustc_error_codes/error_codes/E0130.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
You declared a pattern as an argument in a foreign function declaration.
1+
A pattern was declared as an argument in a foreign function declaration.
22

33
Erroneous code example:
44

@@ -9,7 +9,7 @@ extern {
99
}
1010
```
1111

12-
Please replace the pattern argument with a regular one. Example:
12+
To fix this error, replace the pattern argument with a regular one. Example:
1313

1414
```
1515
struct SomeStruct {

0 commit comments

Comments
 (0)