Skip to content

Commit 0fcdefb

Browse files
Clean up E0518 explanation
1 parent 167510f commit 0fcdefb

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

src/librustc_error_codes/error_codes/E0518.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
This error indicates that an `#[inline(..)]` attribute was incorrectly placed
2-
on something other than a function or method.
1+
An `#[inline(..)]` attribute was incorrectly placed on something other than a
2+
function or method.
33

4-
Examples of erroneous code:
4+
Example of erroneous code:
55

66
```compile_fail,E0518
77
#[inline(always)]

0 commit comments

Comments
 (0)