We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1620e92 commit 74ac35bCopy full SHA for 74ac35b
clippy_lints/src/transmute.rs
@@ -159,7 +159,7 @@ declare_clippy_lint! {
159
160
/// **What it does:** Checks for transmutes from an integer to a float.
161
///
162
-/// **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.
163
164
/// **Known problems:** None.
165
0 commit comments