about summary refs log tree commit diff
path: root/src/docs/inline_fn_without_body.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/docs/inline_fn_without_body.txt')
-rw-r--r--src/docs/inline_fn_without_body.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/docs/inline_fn_without_body.txt b/src/docs/inline_fn_without_body.txt
deleted file mode 100644
index 127c161aaa2..00000000000
--- a/src/docs/inline_fn_without_body.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-### What it does
-Checks for `#[inline]` on trait methods without bodies
-
-### Why is this bad?
-Only implementations of trait methods may be inlined.
-The inline attribute is ignored for trait methods without bodies.
-
-### Example
-```
-trait Animal {
-    #[inline]
-    fn name(&self) -> &'static str;
-}
-```
\ No newline at end of file