diff options
| author | Botahamec <botahamec@outlook.com> | 2024-05-22 20:59:09 -0400 |
|---|---|---|
| committer | Botahamec <botahamec@outlook.com> | 2024-05-22 20:59:09 -0400 |
| commit | 878f4fae4d3c6e64ab3824bf3fc012fbb5293a21 (patch) | |
| tree | f6550c400decbc1805c5957460177380d7c94718 /src/rwlock/read_lock.rs | |
| parent | 1ed88daa00d478472181f0987112a2b0f2266694 (diff) | |
Documentation
Diffstat (limited to 'src/rwlock/read_lock.rs')
| -rw-r--r-- | src/rwlock/read_lock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rwlock/read_lock.rs b/src/rwlock/read_lock.rs index 29042b5..4f2bc86 100644 --- a/src/rwlock/read_lock.rs +++ b/src/rwlock/read_lock.rs @@ -36,7 +36,7 @@ impl<'l, T, R> From<&'l RwLock<T, R>> for ReadLock<'l, T, R> { impl<'l, T: ?Sized, R> AsRef<RwLock<T, R>> for ReadLock<'l, T, R> { fn as_ref(&self) -> &RwLock<T, R> { - &self.0 + self.0 } } |
