aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/io.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/io.rs b/src/io.rs
index c5645fa..0e32bf0 100644
--- a/src/io.rs
+++ b/src/io.rs
@@ -860,6 +860,7 @@ pub trait ReadBytesExt: io::Read {
/// assert_eq!([f32::consts::PI, 1.0], dst);
/// ```
#[inline]
+ #[deprecated(since="1.2.0", note="please use `read_f32_into` instead")]
fn read_f32_into_unchecked<T: ByteOrder>(
&mut self,
dst: &mut [f32],
@@ -953,6 +954,7 @@ pub trait ReadBytesExt: io::Read {
/// assert_eq!([f64::consts::PI, 1.0], dst);
/// ```
#[inline]
+ #[deprecated(since="1.2.0", note="please use `read_f64_into` instead")]
fn read_f64_into_unchecked<T: ByteOrder>(
&mut self,
dst: &mut [f64],