]> git.lizzy.rs Git - rust.git/commitdiff
Clean E0382 and E0384 explanations
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 5 Mar 2020 12:05:08 +0000 (13:05 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 5 Mar 2020 12:05:08 +0000 (13:05 +0100)
src/librustc_error_codes/error_codes/E0382.md
src/librustc_error_codes/error_codes/E0384.md

index 1592eac2ec5fb73f790e0caba00d3f7366414f20..9ea9b9ed1138ae36ac94d231ba1fbbe7a06985b9 100644 (file)
@@ -1,5 +1,4 @@
-This error occurs when an attempt is made to use a variable after its contents
-have been moved elsewhere.
+A variable was used after its contents have been moved elsewhere.
 
 Erroneous code example:
 
index 7c7ee744a8c89c692e4ac148af44a356566e1b23..e21fac0797cb98e25aaa2cf71bd6485ed0e8c8d6 100644 (file)
@@ -1,4 +1,4 @@
-This error occurs when an attempt is made to reassign an immutable variable.
+An immutable variable was reassigned.
 
 Erroneous code example: