Merge pull request #93 from seanmonstar/codec-unstable

remove unstable for Codec methods used internally
This commit is contained in:
Sean McArthur
2017-09-18 10:03:58 -07:00
committed by GitHub
2 changed files with 0 additions and 2 deletions

View File

@@ -232,7 +232,6 @@ impl<T> FramedRead<T> {
/// 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);

View File

@@ -65,7 +65,6 @@ impl<T, B> Codec<T, B> {
/// 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)