]> git.lizzy.rs Git - rust.git/commitdiff
clean up E0718 explanation
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 7 Jul 2020 12:13:03 +0000 (14:13 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 7 Jul 2020 12:13:03 +0000 (14:13 +0200)
src/librustc_error_codes/error_codes/E0718.md

index e7ae51ca58835b12ca488205978f56b914c21fd7..bb401ef6e2d4c3f597b2f9dfae9ad8873330306d 100644 (file)
@@ -1,7 +1,6 @@
-This error indicates that a `#[lang = ".."]` attribute was placed
-on the wrong type of item.
+A `#[lang = ".."]` attribute was placed on the wrong type of item.
 
-Examples of erroneous code:
+Erroneous code example:
 
 ```compile_fail,E0718
 #![feature(lang_items)]