From d202b595065b9f20c07d3abc72c47f506f4491f0 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 2 Jan 2020 19:57:19 +0100 Subject: [PATCH] Clean up E0130 error explanation --- src/librustc_error_codes/error_codes/E0130.md | 4 ++-- 1 file 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 5273f3ad14f4..539049edb33b 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 {