diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2022-11-17 22:59:10 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 02:59:10 +0100 |
commit | 238590aa9fdfe2aac04bb96abad2f2d2feb3101a (patch) | |
tree | f8fa04e39baecb5460076c1329ca38ae31f440b6 /core/async_cell.rs | |
parent | 483c10c94b8a5de49cee4c4b9a3ce74726501c8a (diff) |
chore: use Rust 1.65.0 (#16688)
Diffstat (limited to 'core/async_cell.rs')
-rw-r--r-- | core/async_cell.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/async_cell.rs b/core/async_cell.rs index ea6cac831..e643af782 100644 --- a/core/async_cell.rs +++ b/core/async_cell.rs @@ -220,13 +220,13 @@ impl<T> Deref for RcRef<T> { impl<T> Borrow<T> for RcRef<T> { fn borrow(&self) -> &T { - &**self + self } } impl<T> AsRef<T> for RcRef<T> { fn as_ref(&self) -> &T { - &**self + self } } @@ -478,13 +478,13 @@ mod internal { impl<T, M: BorrowModeTrait> Borrow<T> for AsyncBorrowImpl<T, M> { fn borrow(&self) -> &T { - &**self + self } } impl<T, M: BorrowModeTrait> AsRef<T> for AsyncBorrowImpl<T, M> { fn as_ref(&self) -> &T { - &**self + self } } @@ -500,13 +500,13 @@ mod internal { impl<T> BorrowMut<T> for AsyncBorrowImpl<T, Exclusive> { fn borrow_mut(&mut self) -> &mut T { - &mut **self + self } } impl<T> AsMut<T> for AsyncBorrowImpl<T, Exclusive> { fn as_mut(&mut self) -> &mut T { - &mut **self + self } } |