From 9db736059372e1031a6a894fe67140014954a696 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 3 Apr 2020 13:41:34 +0200 Subject: Clean up E0502 explanation --- src/librustc_error_codes/error_codes/E0502.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/librustc_error_codes/error_codes') diff --git a/src/librustc_error_codes/error_codes/E0502.md b/src/librustc_error_codes/error_codes/E0502.md index f15c05d558d..b90c59f5807 100644 --- a/src/librustc_error_codes/error_codes/E0502.md +++ b/src/librustc_error_codes/error_codes/E0502.md @@ -1,5 +1,4 @@ -This error indicates that you are trying to borrow a variable as mutable when it -has already been borrowed as immutable. +A variable already borrowed as immutable was borrowed as mutable. Erroneous code example: -- cgit 1.4.1-3-g733a5