Fix docstring for SocketRef::into_inner(). NFC.
This commit is contained in:
parent
f32522bef7
commit
59f76f1868
|
@ -55,7 +55,7 @@ impl<'a, T: Session + 'a> Ref<'a, T> {
|
|||
/// map a `&mut SocketRef<'a, XSocket>` to a `&'a mut XSocket` (note the lifetimes);
|
||||
/// be sure to call [new] afterwards.
|
||||
///
|
||||
/// [new_unchecked]: #method.new_unchecked
|
||||
/// [new]: #method.new
|
||||
pub fn into_inner(mut ref_: Self) -> &'a mut T {
|
||||
ref_.consumed = true;
|
||||
ref_.socket
|
||||
|
|
Loading…
Reference in New Issue