about summary refs log tree commit diff
path: root/src/docs/checked_conversions.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/docs/checked_conversions.txt')
-rw-r--r--src/docs/checked_conversions.txt15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/docs/checked_conversions.txt b/src/docs/checked_conversions.txt
deleted file mode 100644
index 536b01294ee..00000000000
--- a/src/docs/checked_conversions.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-### What it does
-Checks for explicit bounds checking when casting.
-
-### Why is this bad?
-Reduces the readability of statements & is error prone.
-
-### Example
-```
-foo <= i32::MAX as u32;
-```
-
-Use instead:
-```
-i32::try_from(foo).is_ok();
-```
\ No newline at end of file