mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 09:47:56 +00:00
Reduce cargo doc warnings (#8947)
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -54,8 +54,8 @@ impl<T> Drop for SharedDataLockedUpgradable<T> {
|
||||
/// Created by [`SharedData::shared_data_locked`].
|
||||
///
|
||||
/// As long as this object isn't dropped, the shared data is held in a mutex guard and the shared
|
||||
/// data is tagged as locked. Access to the shared data is provided through [`Deref`] and
|
||||
/// [`DerefMut`]. The trick is to use [`Self::release_mutex`] to release the mutex, but still keep
|
||||
/// data is tagged as locked. Access to the shared data is provided through [`Deref`](std::ops::Deref) and
|
||||
/// [`DerefMut`](std::ops::DerefMut). The trick is to use [`Self::release_mutex`] to release the mutex, but still keep
|
||||
/// the shared data locked. This means every other thread trying to access the shared data in this
|
||||
/// time will need to wait until this lock is freed.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user