Skip to content

Commit 6b28a8c

Browse files
committedMar 5, 2020
Clean E0382 and E0384 explanations
1 parent 01a8b5f commit 6b28a8c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
 

‎src/librustc_error_codes/error_codes/E0382.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
This error occurs when an attempt is made to use a variable after its contents
2-
have been moved elsewhere.
1+
A variable was used after its contents have been moved elsewhere.
32

43
Erroneous code example:
54

‎src/librustc_error_codes/error_codes/E0384.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This error occurs when an attempt is made to reassign an immutable variable.
1+
An immutable variable was reassigned.
22

33
Erroneous code example:
44

0 commit comments

Comments
 (0)
Please sign in to comment.