about summary refs log tree commit diff
path: root/src/docs/manual_bits.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/docs/manual_bits.txt')
-rw-r--r--src/docs/manual_bits.txt15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/docs/manual_bits.txt b/src/docs/manual_bits.txt
deleted file mode 100644
index b96c2eb151d..00000000000
--- a/src/docs/manual_bits.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-### What it does
-Checks for uses of `std::mem::size_of::<T>() * 8` when
-`T::BITS` is available.
-
-### Why is this bad?
-Can be written as the shorter `T::BITS`.
-
-### Example
-```
-std::mem::size_of::<usize>() * 8;
-```
-Use instead:
-```
-usize::BITS as usize;
-```
\ No newline at end of file