Skip to content

Commit

Permalink
Also fix Kimundi#61
Browse files Browse the repository at this point in the history
  • Loading branch information
steffahn committed Jan 18, 2021
1 parent 5e41145 commit b26010a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -793,18 +793,6 @@ impl<'t, O, T: ?Sized> OwningRefMut<'t, O, T> {
}
}

// TODO: wrap_owner

/// A reference to the underlying owner.
pub fn as_owner(&self) -> &O {
&self.owner
}

/// A mutable reference to the underlying owner.
pub fn as_owner_mut(&mut self) -> &mut O {
&mut self.owner
}

/// Discards the reference and retrieves the owner.
pub fn into_owner(self) -> O {
self.owner
Expand Down

0 comments on commit b26010a

Please sign in to comment.