about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-06-04 16:24:08 +0200
committerGitHub <noreply@github.com>2025-06-04 16:24:08 +0200
commit005490cbbcaab93c793f7b9a9001973b99c703ae (patch)
tree7c4379f02bbba06cdb19a0e018f5019daf9b9ada
parent0736a03a78de512c1b425cf7c0197c6be4525e77 (diff)
parent80e44de2d37c7f9597707cbba1287fdd03cdcae5 (diff)
downloadrust-005490cbbcaab93c793f7b9a9001973b99c703ae.tar.gz
rust-005490cbbcaab93c793f7b9a9001973b99c703ae.zip
Rollup merge of #141893 - usamoi:lossless, r=tgross35
remove `f16: From<u16>`

it's not a lossless conversion

r? ``@tgross35``
-rw-r--r--library/core/src/convert/num.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/convert/num.rs b/library/core/src/convert/num.rs
index d5cb10a5d1c..50616732b77 100644
--- a/library/core/src/convert/num.rs
+++ b/library/core/src/convert/num.rs
@@ -175,7 +175,6 @@ impl_from!(u8 => f16, #[stable(feature = "lossless_float_conv", since = "1.6.0")
 impl_from!(u8 => f32, #[stable(feature = "lossless_float_conv", since = "1.6.0")]);
 impl_from!(u8 => f64, #[stable(feature = "lossless_float_conv", since = "1.6.0")]);
 impl_from!(u8 => f128, #[stable(feature = "lossless_float_conv", since = "1.6.0")]);
-impl_from!(u16 => f16, #[stable(feature = "lossless_float_conv", since = "1.6.0")]);
 impl_from!(u16 => f32, #[stable(feature = "lossless_float_conv", since = "1.6.0")]);
 impl_from!(u16 => f64, #[stable(feature = "lossless_float_conv", since = "1.6.0")]);
 impl_from!(u16 => f128, #[stable(feature = "lossless_float_conv", since = "1.6.0")]);