Skip to content

Commit 9db7360

Browse files
Clean up E0502 explanation
1 parent 98803c1 commit 9db7360

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

src/librustc_error_codes/error_codes/E0502.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
This error indicates that you are trying to borrow a variable as mutable when it
2-
has already been borrowed as immutable.
1+
A variable already borrowed as immutable was borrowed as mutable.
32

43
Erroneous code example:
54

0 commit comments

Comments
 (0)