Skip to content

Commit ef21699

Browse files
committed
more tests
1 parent 88c09f9 commit ef21699

File tree

3 files changed

+666
-695
lines changed

3 files changed

+666
-695
lines changed

src/rt/tokio.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ impl<T> TokioIo<T> {
7272
&self.inner
7373
}
7474

75+
/// Mut borrow the inner type.
76+
pub fn inner_mut(&mut self) -> &mut T {
77+
&mut self.inner
78+
}
79+
7580
/// Consume this wrapper and get the inner type.
7681
pub fn into_inner(self) -> T {
7782
self.inner

0 commit comments

Comments
 (0)