about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2019-11-25 13:50:25 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2019-11-25 15:39:07 +0100
commitef35980ffbdf70870c37b78aa2da1bcf1ee775a2 (patch)
treeb032ad1dfe1e284862a5139330fbe04f9da4e4c1
parent98e29176264635da8a8c0b2f2ccabf282cfa2282 (diff)
downloadrust-ef35980ffbdf70870c37b78aa2da1bcf1ee775a2.tar.gz
rust-ef35980ffbdf70870c37b78aa2da1bcf1ee775a2.zip
Clean up E0069 long explanation
-rw-r--r--src/librustc_error_codes/error_codes/E0069.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc_error_codes/error_codes/E0069.md b/src/librustc_error_codes/error_codes/E0069.md
index ad3b1803b54..7367a5c0922 100644
--- a/src/librustc_error_codes/error_codes/E0069.md
+++ b/src/librustc_error_codes/error_codes/E0069.md
@@ -1,5 +1,7 @@
 The compiler found a function whose body contains a `return;` statement but
-whose return type is not `()`. An example of this is:
+whose return type is not `()`.
+
+Erroneous code example:
 
 ```compile_fail,E0069
 // error