diff --git a/clippy_lints/src/transmute.rs b/clippy_lints/src/transmute.rs index 56e1aa4a4e1..4ce54f9f87c 100644 --- a/clippy_lints/src/transmute.rs +++ b/clippy_lints/src/transmute.rs @@ -159,7 +159,7 @@ declare_clippy_lint! { /// **What it does:** Checks for transmutes from an integer to a float. /// -/// **Why is this bad?** This might result in an invalid in-memory representation of a float. +/// **Why is this bad?** Transmutes are dangerous and error-prone, whereas `from_bits` is intuitive and safe. /// /// **Known problems:** None. ///