diff --git a/src/codec/framed_read.rs b/src/codec/framed_read.rs index 46ac723..90f2094 100644 --- a/src/codec/framed_read.rs +++ b/src/codec/framed_read.rs @@ -232,7 +232,6 @@ impl FramedRead { /// Updates the max frame size setting. /// /// Must be within 16,384 and 16,777,215. - #[cfg(feature = "unstable")] #[inline] pub fn set_max_frame_size(&mut self, val: usize) { assert!(DEFAULT_MAX_FRAME_SIZE as usize <= val && val <= MAX_MAX_FRAME_SIZE as usize); diff --git a/src/codec/mod.rs b/src/codec/mod.rs index 057ca94..6dc3267 100644 --- a/src/codec/mod.rs +++ b/src/codec/mod.rs @@ -65,7 +65,6 @@ impl Codec { /// words, if a frame is currently in process of being decoded with a frame /// size greater than `val` but less than the max frame size in effect /// before calling this function, then the frame will be allowed. - #[cfg(feature = "unstable")] #[inline] pub fn set_max_recv_frame_size(&mut self, val: usize) { self.inner.set_max_frame_size(val)