Fix docstring for SocketRef::into_inner(). NFC.

This commit is contained in:
whitequark 2019-06-22 07:49:18 +00:00
parent f32522bef7
commit 59f76f1868
1 changed files with 1 additions and 1 deletions

View File

@ -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