Skip to content

Commit ef35980

Browse files
Clean up E0069 long explanation
1 parent 98e2917 commit ef35980

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

src/librustc_error_codes/error_codes/E0069.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
The compiler found a function whose body contains a `return;` statement but
2-
whose return type is not `()`. An example of this is:
2+
whose return type is not `()`.
3+
4+
Erroneous code example:
35

46
```compile_fail,E0069
57
// error

0 commit comments

Comments
 (0)