File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -2621,15 +2621,10 @@ impl<'a> Socket<'a> {
2621
2621
/// 1. The new buffer must be larger than the length of remaining data in the current buffer
2622
2622
/// 2. The new buffer must be multiple of (1 << self.remote_win_shift)
2623
2623
///
2624
- /// Note: self.remote_win_shift cannot be modified after the connection is established. Use
2625
- /// `new_with_window_scaling` to create a new socket with a pre-defined window scale. Details can
2626
- /// be found in [RFC 1323].
2627
- ///
2628
2624
/// If the new buffer does not meet the requirements, the new buffer is returned as an error;
2629
2625
/// otherwise, the old buffer is returned as an Ok value.
2630
2626
///
2631
- /// See also the [new_with_window_scaling](struct.Socket.html#method.new_with_window_scaling) and
2632
- /// [local_recv_win_scale](struct.Socket.html#method.local_recv_win_scale) methods.
2627
+ /// See also the [local_recv_win_scale](struct.Socket.html#method.local_recv_win_scale) methods.
2633
2628
pub fn replace_recv_buffer < T : Into < SocketBuffer < ' a > > > (
2634
2629
& mut self ,
2635
2630
new_buffer : T ,
You can’t perform that action at this time.
0 commit comments